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

Method paramMap

packages/router/src/router_state.ts:277–280  ·  view source on GitHub ↗

* An Observable that contains a map of the required and optional parameters * specific to the route. * The map supports retrieving single and multiple values from the same parameter.

()

Source from the content-addressed store, hash-verified

275 * The map supports retrieving single and multiple values from the same parameter.
276 */
277 get paramMap(): Observable<ParamMap> {
278 this._paramMap ??= this.params.pipe(map((p: Params): ParamMap => convertToParamMap(p)));
279 return this._paramMap;
280 }
281
282 /**
283 * An Observable that contains a map of the query parameters available to all routes.

Callers

nothing calls this directly

Calls 1

convertToParamMapFunction · 0.90

Tested by

no test coverage detected