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

Function mutate

test/unit/test-fixed-layer.js:1020–1022  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

1018 // Remove.
1019 fixedLayer.vsync_ = {
1020 mutate(callback) {
1021 callback();
1022 },
1023 };
1024 fixedLayer.removeElement(element6);
1025 expect(fixedLayer.elements_).to.have.length(5);

Callers 3

runPromiseFunction · 0.70
wrapWaitFunction · 0.50

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected