MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / destroy

Function destroy

src/components/contextmenu/index.js:127–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 function destroy() {
128 $el.remove();
129 $mask.remove();
130 options.toggler?.removeEventListener("click", toggle);
131 }
132
133 if (options.toggler) {
134 options.toggler.addEventListener("click", toggle);

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected