Skip to main content

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

NameTypeDescription
enabledboolWhether to use the automatic loading indicator

Returns

void

Example

$app.setUseLoadingIndicator(false); // Turn off the automatic loading indicator
  • $app.showLoadingIndicator(timeoutSeconds) — Shows the loading indicator yourself
  • $app.hideLoadingIndicator() — Hides a loading indicator you showed yourself