Types
Types
The types of stack.
StackElement
Class
A stack of screens; the last one shows, and back goes to the one before. The options of screens go on the screens (defineScreen, Screen(…).options()), or on many at once through groups and presentation.
class StackElement implements LayoutElement<Uses>
StackEntry
Type
A screen of a stack: by name, or Screen(…) with its props and the options of this show.
type StackEntry = string | ScreenElement<any>
| Member | Type | Description |
|---|---|---|
| options | options(options: ScreenOptionsInput<object>): ScreenElement<Uses> | The options of this show, over those of the screen's definition. |
| id | id(id: string): ScreenElement<Uses> | The id of the screen, to address it. |
PushConfig
Interface
How push shows a screen.
interface PushConfig
| Member | Type | Description |
|---|---|---|
| transition | Transition | How the screen comes and goes: a preset ( |
| options | ScreenOptionsInput<object> | Options of the screen for this show, over those of its definition. |