MCPcopy Create free account
hub / github.com/TruthHun/BookStack / makeTooltip

Function makeTooltip

static/editor.md/lib/codemirror/addon/tern/tern.js:623–629  ·  view source on GitHub ↗
(x, y, content)

Source from the content-addressed store, hash-verified

621 }
622
623 function makeTooltip(x, y, content) {
624 var node = elt("div", cls + "tooltip", content);
625 node.style.left = x + "px";
626 node.style.top = y + "px";
627 document.body.appendChild(node);
628 return node;
629 }
630
631 function remove(node) {
632 var p = node && node.parentNode;

Callers 3

hintFunction · 0.85
showArgHintsFunction · 0.85
tempTooltipFunction · 0.85

Calls 1

eltFunction · 0.70

Tested by

no test coverage detected