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

Method paramMap

packages/router/src/router_state.ts:268–271  ·  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

266 * The map supports retrieving single and multiple values from the same parameter.
267 */
268 get paramMap(): Observable<ParamMap> {
269 this._paramMap ??= this.params.pipe(map((p: Params): ParamMap => convertToParamMap(p)));
270 return this._paramMap;
271 }
272
273 /**
274 * 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