vue-router / NavigationGuardWithThis
NavigationGuardWithThis()<T>
Navigation Guard with a type parameter for this.
See
Type Parameters
T
T
ts
NavigationGuardWithThis(
this,
to,
from,
next): _Awaitable<NavigationGuardReturn>;Navigation Guard with a type parameter for this.
Parameters
this
T
to
RouteLocationNormalizedGeneric
from
RouteLocationNormalizedLoadedGeneric
next
Deprecated
Return a value from the guard instead of calling next(value). The callback will be removed in a future version of Vue Router.
Returns
_Awaitable<NavigationGuardReturn>

