- Source:
Methods
(static) clearPreviousScene() → {void}
Clear previous scene from group stack
- Source:
(static) clearScenes() → {void}
Clear all content from group stack
- Source:
(static) deleteSceneAtIndex(indexopt) → {void}
Delete scene from group stack at passed index
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index |
dynamic |
<optional> |
1 |
- Source:
(static) dismissDialog() → {void}
Close currently displayed dialog
- Source:
(static) getActiveScene() → {object}
Return group at top of stack without removing
- Source:
(static) init() → {void}
- Source:
(static) isDialogOpen() → {boolean}
Returns bool indicating if dialog is currently displayed
- Source:
(static) optionClosed() → {void}
Return button the user selected
- Source:
(static) optionDialog(title, message, buttons) → {void}
Display dialog to user with an OK button
Parameters:
Name | Type | Description |
---|---|---|
title |
dynamic | |
message |
dynamic | |
buttons |
dynamic |
- Source:
(static) optionSelected() → {void}
Return button the user selected
- Source:
(static) popScene() → {void}
Remove the current group and load the last group from the stack
- Source:
(static) pushScene(newGroup) → {void}
Push a new group onto the stack, replacing the existing group on the screen
Parameters:
Name | Type | Description |
---|---|---|
newGroup |
dynamic |
- Source:
(static) radioDialog(title, message) → {void}
Display dialog to user with an OK button
Parameters:
Name | Type | Description |
---|---|---|
title |
dynamic | |
message |
dynamic |
- Source:
(static) registerOverhangData(group) → {void}
Register observers for overhang data
Parameters:
Name | Type | Description |
---|---|---|
group |
dynamic |
- Source:
(static) resetTime() → {void}
Reset time
- Source:
(static) settings() → {void}
Display user/device settings screen
- Source:
(static) standardDialog(title, message) → {void}
Display dialog to user with an OK button
Parameters:
Name | Type | Description |
---|---|---|
title |
dynamic | |
message |
dynamic |
- Source:
(static) unregisterOverhangData(group) → {void}
Remove observers for overhang data
Parameters:
Name | Type | Description |
---|---|---|
group |
dynamic |
- Source:
(static) updateOptions(msg) → {void}
Update options availability
Parameters:
Name | Type | Description |
---|---|---|
msg |
dynamic |
- Source:
(static) updateOverhangTitle(msg) → {void}
Update overhang title
Parameters:
Name | Type | Description |
---|---|---|
msg |
dynamic |
- Source:
(static) updateOverhangVisible(msg) → {void}
Update whether the overhang is visible or not
Parameters:
Name | Type | Description |
---|---|---|
msg |
dynamic |
- Source:
(static) updateUser() → {void}
Update username in overhang
- Source:
(static) userMessage(title, message) → {void}
Display dialog to user with an OK button
Parameters:
Name | Type | Description |
---|---|---|
title |
string | |
message |
string |
- Source: