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

Method replace

packages/common/upgrade/src/location_shim.ts:728–731  ·  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

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

Callers 15

escapeSelectorValueFunction · 0.45
shimContentAttributeFunction · 0.45
shimHostAttributeFunction · 0.45
shimStylesContentFunction · 0.45
setStyleMethod · 0.45
removeStyleMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
initializeSwForFunction · 0.45
isNavigationRequestMethod · 0.45

Calls

no outgoing calls

Tested by 4

normalizeTemplateContentFunction · 0.36
parseConfigFunction · 0.36
parseConfigFunction · 0.36
checkRoutesFunction · 0.36