Skip to main content
Version: 4.59

backInHistory

This action triggers the back navigation of your view stack. As long as there is a view on your stack, the view is popped and the previous view is displayed.

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 the bottom up.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.