MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / constructor

Method constructor

frontend/app/store/contextmenu.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 activeOpts: ShowContextMenuOpts | null = null;
16
17 private constructor() {
18 getApi().onContextMenuClick(this.handleContextMenuClick.bind(this));
19 }
20
21 static getInstance(): ContextMenuModel {
22 if (ContextMenuModel.instance == null) {

Callers

nothing calls this directly

Calls 1

getApiFunction · 0.90

Tested by

no test coverage detected