MCPcopy
hub / github.com/mozilla/multi-account-containers / handler

Function handler

src/js/content-script.js:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7async function doAnimation(element, property, value) {
8 return new Promise((resolve) => {
9 const handler = () => {
10 resolve();
11 element.removeEventListener("transitionend", handler);
12 };
13 element.addEventListener("transitionend", handler);
14 window.requestAnimationFrame(() => {
15 element.style[property] = value;

Callers 2

addEnterHandlerFunction · 0.85
addEnterOnlyHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected