Skip to main content
Version: 4.62

showLoadingOverlay

Displays a spinning loading indicator and overlay covering the whole screen to visualize activity and preventing user interaction for its duration.

note

The actual representation can vary due to the version of the operating system, launcher (Android) etc.

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: Show the loading overlay

Show ExampleHide Example

By default, the showLoadingOverlay action runs indefinetly. To disable it, use the maxTime key in the params or use the hideLoadingOverlay action.

{
"type": "showLoadingOverlay",
"params": {
"maxTime": 5
}
}
The app showing the results of the sample code from Example 1.The app showing the results of the sample code from Example 1.