MCPcopy
hub / github.com/angular/angular / browserState

Method browserState

packages/common/upgrade/src/location_shim.ts:338–340  ·  view source on GitHub ↗

* This function emulates the $browser.state() function from AngularJS. It will cause * history.state to be cached unless changed with deep equality check.

()

Source from the content-addressed store, hash-verified

336 * history.state to be cached unless changed with deep equality check.
337 */
338 private browserState(): unknown {
339 return this.cachedState;
340 }
341
342 private stripBaseUrl(base: string, url: string) {
343 if (url.startsWith(base)) {

Callers 4

constructorMethod · 0.95
initializeMethod · 0.95
resetBrowserUpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected