MCPcopy Create free account
hub / github.com/esengine/esengine / showModalWait

Method showModalWait

packages/fairygui/src/widgets/Window.ts:328–344  ·  view source on GitHub ↗

* Show modal wait indicator * 显示模态等待指示器

(requestingCmd?: number)

Source from the content-addressed store, hash-verified

326 * 显示模态等待指示器
327 */
328 public showModalWait(requestingCmd?: number): void {
329 if (requestingCmd !== undefined) {
330 this._requestingCmd = requestingCmd;
331 }
332
333 const modalWaitingUrl = getUIConfig('windowModalWaiting');
334 if (modalWaitingUrl) {
335 if (!this._modalWaitPane) {
336 this._modalWaitPane = UIPackage.createObjectFromURL(modalWaitingUrl);
337 }
338
339 if (this._modalWaitPane) {
340 this.layoutModalWaitPane();
341 this.addChild(this._modalWaitPane);
342 }
343 }
344 }
345
346 /**
347 * Layout modal wait pane

Callers

nothing calls this directly

Calls 4

layoutModalWaitPaneMethod · 0.95
getUIConfigFunction · 0.90
createObjectFromURLMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected