Skip to content

API Documentation / NavigationGuardNext

Interface: NavigationGuardNext

next() callback passed to navigation guards.

Callable

NavigationGuardNext(): void

Returns

void

NavigationGuardNext(error): void

Parameters

NameType
errorError

Returns

void

NavigationGuardNext(location): void

Parameters

NameType
locationstring | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric

Returns

void

NavigationGuardNext(valid): void

Parameters

NameType
validundefined | boolean

Returns

void

NavigationGuardNext(cb): void

Parameters

NameType
cbNavigationGuardNextCallback

Returns

void

Released under the MIT License.