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

Function toggle

web/main.js:8344–8347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8342 unbind();
8343 }
8344 function toggle() {
8345 open.value = !open.value;
8346 open.value ? bind() : unbind();
8347 }
8348 onBeforeUnmount(unbind);
8349 return (_ctx, _cache) => {
8350 return openBlock(), createElementBlock("span", {

Callers

nothing calls this directly

Calls 2

bindFunction · 0.85
unbindFunction · 0.85

Tested by

no test coverage detected