MCPcopy Create free account
hub / github.com/ampproject/amphtml / applyNavigateToMutators_

Method applyNavigateToMutators_

src/service/navigation.js:405–410  ·  view source on GitHub ↗

* Apply URL transformations for AMP.navigateTo. * @param {string} url * @return {string}

(url)

Source from the content-addressed store, hash-verified

403 * @return {string}
404 */
405 applyNavigateToMutators_(url) {
406 this.navigateToMutators_.forEach((mutator) => {
407 url = mutator(url);
408 });
409 return url;
410 }
411
412 /**
413 * @param {!Element} el

Callers 1

navigateToMethod · 0.95

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected