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

Method parseQueryParams

packages/router/src/url_tree.ts:712–720  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

710 }
711
712 parseQueryParams(): Params {
713 const params: Params = {};
714 if (this.consumeOptional('?')) {
715 do {
716 this.parseQueryParam(params);
717 } while (this.consumeOptional('&'));
718 }
719 return params;
720 }
721
722 parseFragment(): string | null {
723 return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;

Callers 1

parseMethod · 0.95

Calls 2

consumeOptionalMethod · 0.95
parseQueryParamMethod · 0.95

Tested by

no test coverage detected