internal_.NavigationGuardHookWithContext
runtime / <internal> / NavigationGuardHookWithContext
Interface: NavigationGuardHookWithContext<R>
internal.NavigationGuardHookWithContext
Type parameters
| Name | Type |
|---|---|
R | extends IRouteRecord = any |
Callable
NavigationGuardHookWithContext
▸ NavigationGuardHookWithContext(to, from, next, context): void
Parameters
| Name | Type |
|---|---|
to | IRoute<R> |
from | IRoute<R> |
next | (nextObject?: string | false | Error | { path?: string ; replace?: boolean }) => void |
context | NavigationHookContext |
Returns
void