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

Method queryParamMap

packages/router/src/router_state.ts:286–291  ·  view source on GitHub ↗

* An Observable that contains a map of the query parameters available to all routes. * The map supports retrieving single and multiple values from the query parameter.

()

Source from the content-addressed store, hash-verified

284 * The map supports retrieving single and multiple values from the query parameter.
285 */
286 get queryParamMap(): Observable<ParamMap> {
287 this._queryParamMap ??= this.queryParams.pipe(
288 map((p: Params): ParamMap => convertToParamMap(p)),
289 );
290 return this._queryParamMap;
291 }
292
293 toString(): string {
294 return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;

Callers

nothing calls this directly

Calls 1

convertToParamMapFunction · 0.90

Tested by

no test coverage detected