MCPcopy
hub / github.com/callumalpass/tasknotes / closeActiveMenu

Method closeActiveMenu

src/components/DateContextMenu.ts:184–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 }
183
184 private static closeActiveMenu(): void {
185 const activeMenu = DateContextMenu.activeMenu;
186 DateContextMenu.activeMenu = null;
187 DateContextMenu.activeTrigger = null;
188 activeMenu?.hide();
189 }
190
191 private static getTriggerFromEvent(event: UIEvent): Element | null {
192 const target = asElement(event.target);

Callers 1

showWithTriggerMethod · 0.80

Calls 1

hideMethod · 0.45

Tested by

no test coverage detected