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

Method queryParamMap

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

275 * The map supports retrieving single and multiple values from the query parameter.
276 */
277 get queryParamMap(): Observable<ParamMap> {
278 this._queryParamMap ??= this.queryParams.pipe(
279 map((p: Params): ParamMap => convertToParamMap(p)),
280 );
281 return this._queryParamMap;
282 }
283
284 toString(): string {
285 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