Skip to content

lit-ui-router-effect / snapshotRoute

Function: snapshotRoute() ​

ts
function snapshotRoute(router, transition?): RouteSnapshot;

Defined in: ui-router-effect/dist/shared/route-snapshot.d.ts:24

The snapshot of a router right now; StateService.includes minus the live reads.

Parameters ​

ParameterType
routerUIRouter
transition?Transition

Returns ​

RouteSnapshot