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

Method addOverridableKey

extensions/amp-bind/0.1/bind-impl.js:689–691  ·  view source on GitHub ↗

* Marks the given key as overridable so that it can be overriden by * a premutate message from the viewer. * @param {string} key

(key)

Source from the content-addressed store, hash-verified

687 * @param {string} key
688 */
689 addOverridableKey(key) {
690 this.overridableKeys_.push(key);
691 }
692
693 /**
694 * Scans the document for <amp-bind-macro> elements, and adds them to the

Callers 2

buildCallbackMethod · 0.80
testSuiteFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected