MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / showAtElement

Method showAtElement

src/components/TaskContextMenu.ts:2355–2362  ·  view source on GitHub ↗
(element: HTMLElement)

Source from the content-addressed store, hash-verified

2353 }
2354
2355 public showAtElement(element: HTMLElement): void {
2356 // Store the document reference from the element to support pop-out windows
2357 this.targetDoc = element.ownerDocument;
2358 this.menu.showAtPosition({
2359 x: element.getBoundingClientRect().left,
2360 y: element.getBoundingClientRect().bottom + 4,
2361 });
2362 }
2363}

Callers

nothing calls this directly

Calls 1

showAtPositionMethod · 0.80

Tested by

no test coverage detected