GameLoadingOverlay
Constructor Summary
| Public Constructor | ||
| public |
constructor(app: Application, parent: HTMLElement) |
|
Method Summary
| Public Methods | ||
| public |
internalAddHint(element: HTMLElement) Adds a random hint |
|
| public |
internalAddSpinnerAndText(element: HTMLElement) Adds a text with 'loading' and a spinner |
|
| public |
isAttached(): * Returns if the loading overlay is attached |
|
| public |
Removes the overlay if its currently visible |
|
| public |
Shows a super basic overlay |
|
Public Constructors
public constructor(app: Application, parent: HTMLElement) source
Params:
| Name | Type | Attribute | Description |
| app | Application | ||
| parent | HTMLElement |
Public Methods
public internalAddHint(element: HTMLElement) source
Adds a random hint
Params:
| Name | Type | Attribute | Description |
| element | HTMLElement |
public internalAddSpinnerAndText(element: HTMLElement) source
Adds a text with 'loading' and a spinner
Params:
| Name | Type | Attribute | Description |
| element | HTMLElement |
