MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / closeTooltips

Function closeTooltips

graph-ui/tools/lib/readability.mjs:857–868  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

855
856/** Alles wieder zu: der naechste Halt soll nicht mit einem offenen Kasten beginnen. */
857export async function closeTooltips(page) {
858 await page.evaluate(() => {
859 for (const node of document.querySelectorAll('[data-hint][data-hint-open="true"]')) {
860 node.dispatchEvent(new MouseEvent('mouseout', { bubbles: true }));
861 node.blur?.();
862 node.dispatchEvent(new FocusEvent('focusout', { bubbles: true }));
863 }
864 if (document.activeElement instanceof HTMLElement) {
865 document.activeElement.blur();
866 }
867 });
868}
869
870/**
871 * Wie viele native Tooltips diese Seite noch traegt, die etwas ERKLAEREN.

Callers 15

shootAtRestFunction · 0.90
readabilityFunction · 0.90
shootFunction · 0.90
exitWalkFunction · 0.90
rewindMainWalkFunction · 0.90
openEntryFunction · 0.90
applyFunction · 0.90
startWalkFunction · 0.90
readabilityFunction · 0.90
runStateFunction · 0.90
resetPseudocodeLineFunction · 0.90
touchWithMouseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected