MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / hide

Method hide

lib/modAssist_window_lib.js:1222–1229  ·  view source on GitHub ↗

* Hide the loading window * @param {number} time

(time = 1250)

Source from the content-addressed store, hash-verified

1220 * @param {number} time
1221 */
1222 hide (time = 1250) {
1223 setTimeout(() => {
1224 if ( this.#win.isValid(this.#parent) ) {
1225 this.#win.win.main.setProgressBar(-1)
1226 this.#win.sendToValidWindow(this.#parent, 'loading:hide')
1227 }
1228 }, time)
1229 }
1230
1231 /**
1232 * Do not display the count in the loading window

Callers 4

sendModListMethod · 0.45
sendToTrayMethod · 0.45
gameLauncherFunction · 0.45

Calls 2

isValidMethod · 0.80
sendToValidWindowMethod · 0.80

Tested by

no test coverage detected