API Documentation / UseLinkReturn
Interface: UseLinkReturn<Name>
Return type of useLink.
Type parameters
Name | Type |
---|---|
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
▸ navigate(e?
): Promise
<void
| NavigationFailure
>
Parameters
Name | Type |
---|---|
e? | MouseEvent |
Returns
Promise
<void
| NavigationFailure
>