MCPcopy Index your code
hub / github.com/Acode-Foundation/Acode / setMenu

Method setMenu

src/cm/touchSelectionMenu.js:229–238  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

227 }
228
229 setMenu(value) {
230 this.#menuRequested = !!value;
231 if (!this.#enabled) return;
232 if (!value) {
233 this.#clearMenuShowTimer();
234 this.#hideMenu();
235 return;
236 }
237 this.#scheduleMenuShow(MENU_SHOW_DELAY);
238 }
239
240 isMenuVisible() {
241 return this.#menuActive && this.$menu.isConnected;

Callers 3

execFunction · 0.80
EditorManagerFunction · 0.80
setupEditorFunction · 0.80

Calls 3

#clearMenuShowTimerMethod · 0.95
#hideMenuMethod · 0.95
#scheduleMenuShowMethod · 0.95

Tested by

no test coverage detected