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

Method createText

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

Source from the content-addressed store, hash-verified

472 }
473 // End start button
474 createText() {
475 this.textElem = this.createElement("div");
476 this.textElem.classList.add("ejs_loading_text");
477 if (typeof this.config.backgroundImg === "string") this.textElem.classList.add("ejs_loading_text_glow");
478 this.textElem.innerText = this.localization("Loading...");
479 this.elements.parent.appendChild(this.textElem);
480 }
481 localization(text, log) {
482 if (typeof text === "undefined" || text.length === 0) return;
483 text = text.toString();

Callers 1

startButtonClickedMethod · 0.95

Calls 2

createElementMethod · 0.95
localizationMethod · 0.95

Tested by

no test coverage detected