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

Method measureMutateElement

src/service/mutator-interface.js:105–105  ·  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, measurer, mutator)

Source from the content-addressed store, hash-verified

103 * @return {!Promise}
104 */
105 measureMutateElement(element, measurer, mutator) {}
106}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected