Skip to content

lit-ui-router-effect / snapshotRoute

Function: snapshotRoute()

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

Defined in: route-ref.ts:43

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

Parameters

ParameterType
routerUIRouter
transition| Transition | undefined

Returns

RouteSnapshot