MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / removeTransitionClass

Function removeTransitionClass

web/main.js:6907–6916  ·  view source on GitHub ↗
(el, cls)

Source from the content-addressed store, hash-verified

6905 (el[vtcKey] || (el[vtcKey] = /* @__PURE__ */ new Set())).add(cls);
6906}
6907function removeTransitionClass(el, cls) {
6908 cls.split(/\s+/).forEach((c) => c && el.classList.remove(c));
6909 const _vtc = el[vtcKey];
6910 if (_vtc) {
6911 _vtc.delete(cls);
6912 if (!_vtc.size) {
6913 el[vtcKey] = void 0;
6914 }
6915 }
6916}
6917function nextFrame(cb) {
6918 requestAnimationFrame(() => {
6919 requestAnimationFrame(cb);

Callers 4

finishEnterFunction · 0.85
finishLeaveFunction · 0.85
makeEnterHookFunction · 0.85
onLeaveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected