Skip to content

API DocumentationDocs


API Documentation / NavigationGuardNext

Interface: NavigationGuardNext()

next() callback passed to navigation guards.

NavigationGuardNext(): void

next() callback passed to navigation guards.

Returns

void

NavigationGuardNext(error): void

next() callback passed to navigation guards.

Parameters

error: Error

Returns

void

NavigationGuardNext(location): void

next() callback passed to navigation guards.

Parameters

location: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric

Returns

void

NavigationGuardNext(valid): void

next() callback passed to navigation guards.

Parameters

valid: undefined | boolean

Returns

void

NavigationGuardNext(cb): void

next() callback passed to navigation guards.

Parameters

cb: NavigationGuardNextCallback

Returns

void

Released under the MIT License.