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

Method #hideMenu

src/cm/touchSelectionMenu.js:620–626  ·  view source on GitHub ↗
(force = false)

Source from the content-addressed store, hash-verified

618 }
619
620 #hideMenu(force = false) {
621 if (!force && !this.#menuActive && !this.$menu.isConnected) return;
622 if (this.$menu.isConnected) {
623 this.$menu.remove();
624 }
625 this.#menuActive = false;
626 }
627
628 #clearMenuShowTimer() {
629 clearTimeout(this.#menuShowTimer);

Callers 11

destroyMethod · 0.95
setEnabledMethod · 0.95
setMenuMethod · 0.95
onScrollStartMethod · 0.95
onStateChangedMethod · 0.95
onSessionChangedMethod · 0.95
#scheduleMenuShowMethod · 0.95
#showMenuMethod · 0.95
runActionMethod · 0.95
#showMenuDeferredMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected