Skip to main content

backInHistory

Navigating back the view stack.

Field Configurations

KeyTypeDescriptionDefault Value
"params"Objectundefinednull

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"steps"Number,StringThe number of steps to go back. If the value is negative, the app calculates from below.1
"transition"Boolean,StringIndicates whether the system animation should be used.true

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType 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.