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

Method createSubPopup

data/src/emulator.js:5119–5128  ·  view source on GitHub ↗
(hidden)

Source from the content-addressed store, hash-verified

5117 }
5118 }
5119 createSubPopup(hidden) {
5120 const popup = this.createElement("div");
5121 popup.classList.add("ejs_popup_container");
5122 popup.classList.add("ejs_popup_container_box");
5123 const popupMsg = this.createElement("div");
5124 popupMsg.innerText = "";
5125 if (hidden) popup.setAttribute("hidden", "");
5126 popup.appendChild(popupMsg);
5127 return [popup, popupMsg];
5128 }
5129 createNetplayMenu() {
5130 const body = this.createPopup("Netplay", {
5131 "Create a Room": () => {

Callers 4

createBottomMenuBarMethod · 0.95
createNetplayMenuMethod · 0.95
createCheatsMenuMethod · 0.95

Calls 1

createElementMethod · 0.95

Tested by

no test coverage detected