Loading Page
The Loading Page widget allows you to configure a loading page for the app.
Configurable attributes
The following table describes the configurable attributes of the Loading Page widget.
Attribute | Description |
---|---|
backgroundColor | String. The background color of the loading page. |
backgroundImage | Object. The background image. Its properties are as follows:
|
loadingGif | Object. The GIF image. Its properties are as follows:
|
Example
{
"loadingPage": {
"backgroundColor": "#508dca",
"backgroundImage":{
"visible":false,
"uri": "configs/loading/images/background.png",
"width": 812,
"height": 972
},
"loadingGif":{
//Controls whether the gif image is visible. If it is false, the other options under "loadingGif" will be ignored.
"visible": true,
//The uri of the gif image whose path is relative to the root of your application.
"uri": "configs/loading/images/predefined_loading_1.gif",
//The width of the image.
"width": 58,
//The height of the image.
"height": 58
}
}
}