Readonly
eventReadonly
screenReturns a promise that resolves when the given screen is shown.
Returns a screen, or undefined
, if the screen is not initialized.
The ID of the screen to return
Returns the "top" screen.
There are two screen layers:
The overlay layer is always in front of the main layer, therefore if there is no overlay screen visible, this method returns the main layer screen. Otherwise, this method returns the overlay layer screen.
If the screen by the given ID is not already initialized, initializes it.
The initialized screen
The ID of the screen to initialize
Returns if the given screen id is the "top" screen.
There are two screen layers:
The overlay layer is always in front of the main layer, therefore if there is no overlay screen visible, this method returns if the given screen ID is the main layer screen. Otherwise, this method returns if the given screen ID is the overlay layer screen.
Shows a screen
The id of the screen to show
Optional
screenInitializer: ((screen: ScreenById[ID]) => any)Generated using TypeDoc
Streams all initialized screens.