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

Method goToHome

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

Source from the content-addressed store, hash-verified

4401 menu.classList.add("ejs_parent_option_div");
4402 const button = this.createElement("button");
4403 const goToHome = () => {
4404 const homeSize = this.getElementSize(home);
4405 nested.style.width = (homeSize.width + 20) + "px";
4406 nested.style.height = homeSize.height + "px";
4407 menu.setAttribute("hidden", "");
4408 home.removeAttribute("hidden");
4409 }
4410 this.addEventListener(button, "click", goToHome);
4411
4412 button.type = "button";

Callers

nothing calls this directly

Calls 1

getElementSizeMethod · 0.95

Tested by

no test coverage detected