UNPKG

ngx-router

Version:

A utility to get route params, query params from Activated Route by using dependency injection

13 lines (10 loc) 282 B
function routeParamSnapshotFactory(paramKey) { return (route) => { return route.snapshot.paramMap.get(paramKey); }; } /** * Generated bundle index. Do not edit. */ export { routeParamSnapshotFactory }; //# sourceMappingURL=ngx-router-route-param-snapshot.js.map