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

Function showPopover

comfyui_manager/js/common.js:584–595  ·  view source on GitHub ↗
(target, text, className, options)

Source from the content-addressed store, hash-verified

582 }
583}
584export function showPopover(target, text, className, options) {
585 hidePopover();
586 $popover = document.createElement("div");
587 $popover.className = ['cn-popover', className].filter(it => it).join(" ");
588 document.body.appendChild($popover);
589 $popover.innerHTML = text;
590 $popover.style.display = "block";
591 renderPopover($popover, target, {
592 borderRadius: 10,
593 ... options
594 });
595}
596
597let $tooltip;
598export function hideTooltip(target) {

Callers 1

showNodePreviewMethod · 0.90

Calls 2

hidePopoverFunction · 0.85
renderPopoverFunction · 0.85

Tested by

no test coverage detected