()
| 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(); |
no test coverage detected