Skip to content

Complete guide to

Mastering Pinia

written by its creator

API Documentation / NavigationGuardNext

Interface: NavigationGuardNext

Callable

NavigationGuardNext(): void

Returns

void

NavigationGuardNext(error): void

Parameters

NameType
errorError

Returns

void

NavigationGuardNext(location): void

Parameters

NameType
locationRouteLocationRaw

Returns

void

NavigationGuardNext(valid): void

Parameters

NameType
validundefined | boolean

Returns

void

NavigationGuardNext(cb): void

Parameters

NameType
cbNavigationGuardNextCallback

Returns

void

Released under the MIT License.