Skip to main content

showLoadingOverlay

Field Configurations

KeyTypeDescriptionDefault Value
"params"Objectundefinednull

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"maxTime"Number,StringTime in seconds after which the overlay is hidden at the latest. If nothing is specified, the overlay remains as shown.null

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 showLoadingOverlay action

Goal: Display a loading overlay that is going to be hidden in 5 seconds.

maxTime key has to be assigned within the params object of the action.

{
"type": "showLoadingOverlay",
"params": {
"maxTime": 5
}
}

Result:

Screencapture of the app showing the results of the sample code from Example 1.
A showLoadingOverlay action that will display a loading overlay for 5 seconds has been created.