MCPcopy Index your code
hub / github.com/EmulatorJS/EmulatorJS / closePopup

Method closePopup

data/src/emulator.js:1636–1643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1634 this.elements.parent.appendChild(this.elements.contextmenu);
1635 }
1636 closePopup() {
1637 if (this.currentPopup !== null) {
1638 try {
1639 this.currentPopup.remove();
1640 } catch(e) {}
1641 this.currentPopup = null;
1642 }
1643 }
1644 //creates a full box popup.
1645 createPopup(popupTitle, buttons, hidden) {
1646 if (!hidden) this.closePopup();

Callers 4

checkStartedMethod · 0.95
createContextMenuMethod · 0.95
createPopupMethod · 0.95
openCacheMenuMethod · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected