MCPcopy
hub / github.com/Comfy-Org/ComfyUI-Manager / focusInstall

Method focusInstall

comfyui_manager/js/model-manager.js:421–430  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

419 }
420
421 focusInstall(item) {
422 const cellNode = this.grid.getCellNode(item, "installed");
423 if (cellNode) {
424 const cellBtn = cellNode.querySelector(`button[mode="install"]`);
425 if (cellBtn) {
426 cellBtn.classList.add("cmm-btn-loading");
427 return true
428 }
429 }
430 }
431
432 async installModels(list, btn) {
433 btn.classList.add("cmm-btn-loading");

Callers 1

installModelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected