backInHistory
Navigating back the view stack.
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"params" | Object | undefined | null |
Parameters
Key | Type | Description | Default Value |
---|---|---|---|
"async" | Boolean | Specifies whether the action should perform asynchronously. | null |
"steps" | Number,String | The number of steps to go back. If the value is negative, the app calculates from below. | 1 |
"transition" | Boolean,String | Indicates whether the system animation should be used. | true |
Inherited
From Base Action
Base Action
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"dynamicParams" | Object | Dynamic params to retrieve data from a specific context e.g. a userSetting. | null |
"leadingDelimiter" | String | The leading mustache delimiter to use. | null |
"params" | Object,Array | Object containing the properties of the action. | null |
"trailingDelimiter" | String | The trailing mustache delimiter to use. | null |
"type" | String | Type name of the action. | null |
Examples
Example 1: Create a backInHistory action
Goal: Create a backInHistory action going back one step and using the system animation.
{
"type": "backInHistory",
"params": {
"steps": 1,
"transition": true
}
}
As 1
and true
are the default values for the corresponding fields, not specifying values in this case would lead to the same result.
Result:
A backInHistory action has been created.