Constructor
new System(systemSettings, canvasContaineropt)
Parameters:
Name |
Type |
Attributes |
Description |
systemSettings |
SystemSettings
|
|
holds system settings |
canvasContainer |
HTMLElement
|
<optional>
|
If it is not passed, system will create div element and attach it to body |
- Source:
Members
- Source:
Methods
_startScreenPage(screenPageName, optionsopt)
Parameters:
Name |
Type |
Attributes |
Description |
screenPageName |
string
|
|
|
options |
Object
|
<optional>
|
options |
- Source:
_stopScreenPage(screenPageName)
Parameters:
Name |
Type |
Description |
screenPageName |
string
|
|
- Source:
preloadAllData() → {Promise.<void>}
Preloads assets for all registered pages
- Source:
Returns:
-
Type
-
Promise.<void>
registerPage(screenPageName, screen)
A main factory method for create ScreenPage instances,
register them in a System and call ScreenPage.register() stage
Parameters:
Name |
Type |
Description |
screenPageName |
string
|
|
screen |
ScreenPage
|
|
- Source: