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

Method showAtElement

src/components/DateContextMenu.ts:325–332  ·  view source on GitHub ↗
(element: HTMLElement)

Source from the content-addressed store, hash-verified

323 }
324
325 public showAtElement(element: HTMLElement): void {
326 this.showWithTrigger(element, () => {
327 this.menu.showAtPosition({
328 x: element.getBoundingClientRect().left,
329 y: element.getBoundingClientRect().bottom + 4,
330 });
331 });
332 }
333
334 private showDateTimePicker(): void {
335 // Use app from options or plugin

Callers

nothing calls this directly

Calls 2

showWithTriggerMethod · 0.95
showAtPositionMethod · 0.80

Tested by

no test coverage detected