Skip to content

API Documentation / NavigationGuardWithThis

Interface: NavigationGuardWithThis<T>

Navigation Guard with a type parameter for this.

See

TypesConfig

Type parameters

Name
T

Callable

NavigationGuardWithThis(this, to, from, next): _Awaitable<NavigationGuardReturn>

Parameters

NameType
thisT
toRouteLocationNormalizedGeneric
fromRouteLocationNormalizedLoadedGeneric
nextNavigationGuardNext

Returns

_Awaitable<NavigationGuardReturn>

Released under the MIT License.