MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / close

Method close

packages/playground/src/components/NavMenu.ts:157–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 private close(): void {
158 this.isOpen = false;
159 this.popover.classList.remove('open');
160 this.trigger.setAttribute('aria-expanded', 'false');
161 document.removeEventListener('mousedown', this.outsideClick, true);
162 document.removeEventListener('keydown', this.onKey, true);
163 }
164
165 dispose(): void {
166 this.close();

Callers 9

NavMenuClass · 0.95
constructorMethod · 0.95
disposeMethod · 0.95
visitFunction · 0.45
bundleWorkerEntryRollupFunction · 0.45
_patchIosSampleRateFunction · 0.45
destroyFunction · 0.45
acceptAllFunction · 0.45

Calls 1

removeEventListenerMethod · 0.65

Tested by

no test coverage detected