MCPcopy Create free account
hub / github.com/bendc/animateplus / stop

Function stop

animateplus.js:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 }));
428
429export const stop = elements => {
430 const {all} = rAF;
431 const nodes = getElements(elements);
432 all.forEach(object => {
433 if (nodes.includes(object.element)) all.delete(object);
434 });
435 return nodes;
436};

Callers

nothing calls this directly

Calls 1

getElementsFunction · 0.85

Tested by

no test coverage detected