MCPcopy
hub / github.com/ampproject/amphtml / assign

Method assign

testing/fake-dom.js:485–491  ·  view source on GitHub ↗

* @param {string} href

(href)

Source from the content-addressed store, hash-verified

483 * @param {string} href
484 */
485 assign(href) {
486 this.set_(href);
487 if (this.history_) {
488 this.history_.pushState(null, '', this.url_.href, /* fireEvent */ true);
489 }
490 this.change_({assign: true});
491 }
492
493 /**
494 * @param {string} href

Callers 15

constructorMethod · 0.95
getAllBabelConfigsFunction · 0.80
getReplacePluginFunction · 0.80
ProgramFunction · 0.80
index.jsFile · 0.80
doBuildExtensionFunction · 0.80
mergeFallbacksFunction · 0.80
getZindexFunction · 0.80
runVisualTestsFunction · 0.80
getConfigFunction · 0.80
enableLocalDev_Function · 0.80
constructorMethod · 0.80

Calls 3

set_Method · 0.95
change_Method · 0.95
pushStateMethod · 0.80

Tested by

no test coverage detected