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

Method replace

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

* Changes to `$location` during the current `$digest` will replace the current * history record, instead of adding a new one.

()

Source from the content-addressed store, hash-verified

725 * history record, instead of adding a new one.
726 */
727 replace(): this {
728 this.$$replace = true;
729 return this;
730 }
731
732 /**
733 * Retrieves the history state object when called without any parameter.

Callers 15

escapeSelectorValueFunction · 0.45
shimContentAttributeFunction · 0.45
shimHostAttributeFunction · 0.45
shimStylesContentFunction · 0.45
initializeSwForFunction · 0.45
isNavigationRequestMethod · 0.45
stripQueryAndHashMethod · 0.45
joinPathsFunction · 0.45
requestSubscriptionMethod · 0.45
urlToRegexFunction · 0.45

Calls

no outgoing calls

Tested by 3

normalizeTemplateContentFunction · 0.36
parseConfigFunction · 0.36
parseConfigFunction · 0.36