Skip to content

API Documentation / NavigationGuard

Interface: NavigationGuard

Navigation guard. See Navigation Guards.

Callable

NavigationGuard(to, from, next): NavigationGuardReturn | Promise<NavigationGuardReturn>

Parameters

NameType
toRouteLocationNormalized
fromRouteLocationNormalized
nextNavigationGuardNext

Returns

NavigationGuardReturn | Promise<NavigationGuardReturn>

Released under the MIT License.