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

Method constructor

src/components/DateContextMenu.ts:76–80  ·  view source on GitHub ↗
(options: DateContextMenuOptions)

Source from the content-addressed store, hash-verified

74 private options: DateContextMenuOptions;
75
76 constructor(options: DateContextMenuOptions) {
77 this.menu = new ContextMenu();
78 this.options = options;
79 this.buildMenu();
80 }
81
82 private t(key: string, fallback?: string, params?: Record<string, string | number>): string {
83 return this.options.plugin?.i18n.translate(key, params) || fallback || key;

Callers

nothing calls this directly

Calls 1

buildMenuMethod · 0.95

Tested by

no test coverage detected