MCPcopy Create free account
hub / github.com/angular/angular / createActivatedRoute

Function createActivatedRoute

packages/router/src/create_router_state.ts:87–98  ·  view source on GitHub ↗
(c: ActivatedRouteSnapshot)

Source from the content-addressed store, hash-verified

85}
86
87function createActivatedRoute(c: ActivatedRouteSnapshot) {
88 return new ActivatedRoute(
89 new BehaviorSubject(c.url),
90 new BehaviorSubject(c.params),
91 new BehaviorSubject(c.queryParams),
92 new BehaviorSubject(c.fragment),
93 new BehaviorSubject(c.data),
94 c.outlet,
95 c.component,
96 c,
97 );
98}

Callers 1

createNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected