setUseLoadingIndicator
Description
Sets app-wide whether to use the loading indicator that appears automatically during a data request. It affects only the indicator the framework shows automatically, not one you show yourself with showLoadingIndicator. The default is enabled (true).
Parameters
| Name | Type | Description |
|---|---|---|
enabled | bool | Whether to use the automatic loading indicator |
Returns
void
Example
$app.setUseLoadingIndicator(false); // Turn off the automatic loading indicator
Related
$app.showLoadingIndicator(timeoutSeconds)— Shows the loading indicator yourself$app.hideLoadingIndicator()— Hides a loading indicator you showed yourself