Constructor
new LoadableComponent(reporter, settings)
Parameters:
| Name |
Type |
Description |
reporter |
Reporter
|
|
settings |
Object
|
Properties
| Name |
Type |
Attributes |
Description |
id |
UUID
|
<optional>
|
|
name |
string
|
<optional>
|
|
source |
QualitySourceMap
|
|
Either one URL, or three (one for every quality setting) |
sizeBytes |
number
|
<optional>
|
|
|
- Source:
Members
Type:
- Source:
Methods
(async, protected) _load(base, quality) → {Promise.<any>}
Parameters:
- Source:
Returns:
-
Type
-
Promise.<any>
(async) load(base, qualityopt) → {Promise.<LoadableComponent>}
This method is not meant to be called directly.
Instead it is meant to be called by the ComponentLoader, which will respond to its
error state changes, in case anything fails.
Parameters:
- Source:
Returns:
-
Type
-
Promise.<LoadableComponent>