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

Method mutateElement

src/service/mutator-interface.js:88–88  ·  view source on GitHub ↗

* Runs the specified mutation on the element and ensures that remeasures and * layouts performed for the affected elements. * * This method should be called whenever a significant mutations are done * on the DOM that could affect layout of elements inside this subtree or * its sibling

(element, mutator, skipRemeasure)

Source from the content-addressed store, hash-verified

86 * @return {!Promise}
87 */
88 mutateElement(element, mutator, skipRemeasure) {}
89
90 /**
91 * Runs the specified mutation on the element and ensures that remeasures and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected