API Documentation / NavigationGuard
Interface: NavigationGuard #
Callable #
NavigationGuard #
▸ NavigationGuard(to
, from
, next
): NavigationGuardReturn
| Promise
<NavigationGuardReturn
>
Navigation guard. See Navigation Guards.
Parameters #
Name | Type |
---|---|
to | RouteLocationNormalized |
from | RouteLocationNormalized |
next | NavigationGuardNext |
Returns #
NavigationGuardReturn
| Promise
<NavigationGuardReturn
>