Skip to content

API DocumentationDocs


API Documentation / UseLinkReturn

Interface: UseLinkReturn<Name>

Internal

Return type of useLink.

Type Parameters

Name extends keyof RouteMap = keyof RouteMap

Properties

href

href: ComputedRef<string>


isActive

isActive: ComputedRef<boolean>


isExactActive

isExactActive: ComputedRef<boolean>


route

route: ComputedRef<RouteLocationResolvedGeneric>

Methods

navigate(e?): Promise<void | NavigationFailure>

Parameters

e?: MouseEvent

Returns

Promise<void | NavigationFailure>

Released under the MIT License.