Skip to content

API Documentation / UseLinkReturn

Interface: UseLinkReturn<Name>

Return type of useLink.

Type parameters

NameType
Nameextends 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

NameType
e?MouseEvent

Returns

Promise<void | NavigationFailure>

Released under the MIT License.