Class sap.m.BusyIndicatorModule: sap/m/BusyIndicator
Control to indicate that the system is busy with some task and the user has to wait.
sClassName
and enriches it with the information contained in oClassInfo
.ariaLabelledBy
.ariaLabelledBy
.customIconDensityAware
.customIconRotationSpeed
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- text : string (default: )
- textDirection : sap.ui.core.TextDirection (default: Inherit)
- customIcon : sap.ui.core.URI (default: )
- customIconRotationSpeed : int (default: 1000)
- customIconDensityAware : boolean (default: true)
- customIconWidth : sap.ui.core.CSSSize (default: 44px)
- customIconHeight : sap.ui.core.CSSSize (default: 44px)
- size : sap.ui.core.CSSSize (default: 1rem)
- design : string (default: auto)
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Control.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
ariaLabelledBy
. {string|sap.ui.core.Control} | vAriaLabelledBy | the ariaLabelledBy to add; if empty, nothing is inserted |
- Since:
- 1.27.0
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
ariaLabelledBy
. - Since:
- 1.27.0
{sap.ui.core.Control[]} |
customIcon
. Icon URL if an icon is used as the busy indicator.
Default value is .
{sap.ui.core.URI} | Value of property customIcon |
customIconDensityAware
. If this is set to false, the src image will be loaded directly without attempting to fetch the density perfect image for high density device. By default, this is set to true but then one or more requests are sent to the server, trying to get the density perfect version of the specified image. If bandwidth is the key for the application, set this value to false.
Default value is true
.
{boolean} | Value of property customIconDensityAware |
customIconHeight
. Height of the provided icon. By default 44px are used.
Default value is 44px
.
{sap.ui.core.CSSSize} | Value of property customIconHeight |
customIconRotationSpeed
. Defines the rotation speed of the given image. If a .gif is used, the speed has to be set to 0. The unit is in ms. Note: Values are considered valid when greater than or equal to 0. If invalid value is provided the speed defaults to 0.
Default value is 1000
.
{int} | Value of property customIconRotationSpeed |
customIconWidth
. Width of the provided icon. By default 44px are used.
Default value is 44px
.
{sap.ui.core.CSSSize} | Value of property customIconWidth |
size
. Defines the size of the busy indicator. The animation consists of three circles, each of which will be this size. Therefore the total width of the control amounts to three times the given size.
Default value is 1rem
.
{sap.ui.core.CSSSize} | Value of property size |
text
. Defines text to be displayed below the busy indicator. It can be used to inform the user of the current operation.
Default value is .
{string} | Value of property text |
textDirection
. Options for the text direction are RTL and LTR. Alternatively, the control can inherit the text direction from its parent container.
Default value is Inherit
.
{sap.ui.core.TextDirection} | Value of property textDirection |
ariaLabelledBy
. - Since:
- 1.27.0
{sap.ui.core.Control[]} | An array of the removed elements (might be empty) |
ariaLabelledBy
. {int|string|sap.ui.core.Control} | vAriaLabelledBy | The ariaLabelledByto be removed or its index or ID |
- Since:
- 1.27.0
{sap.ui.core.Control} | the removed ariaLabelledBy or null |
customIcon
. Icon URL if an icon is used as the busy indicator.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{sap.ui.core.URI} | sCustomIcon | New value for property customIcon |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
customIconDensityAware
. If this is set to false, the src image will be loaded directly without attempting to fetch the density perfect image for high density device. By default, this is set to true but then one or more requests are sent to the server, trying to get the density perfect version of the specified image. If bandwidth is the key for the application, set this value to false.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bCustomIconDensityAware | New value for property customIconDensityAware |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
customIconHeight
. Height of the provided icon. By default 44px are used.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 44px
.
{sap.ui.core.CSSSize} | sCustomIconHeight | New value for property customIconHeight |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
customIconRotationSpeed
. Defines the rotation speed of the given image. If a .gif is used, the speed has to be set to 0. The unit is in ms. Note: Values are considered valid when greater than or equal to 0. If invalid value is provided the speed defaults to 0.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 1000
.
{int} | iCustomIconRotationSpeed | New value for property customIconRotationSpeed |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
customIconWidth
. Width of the provided icon. By default 44px are used.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 44px
.
{sap.ui.core.CSSSize} | sCustomIconWidth | New value for property customIconWidth |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
size
. Defines the size of the busy indicator. The animation consists of three circles, each of which will be this size. Therefore the total width of the control amounts to three times the given size.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 1rem
.
{sap.ui.core.CSSSize} | sSize | New value for property size |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
text
. Defines text to be displayed below the busy indicator. It can be used to inform the user of the current operation.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sText | New value for property text |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
textDirection
. Options for the text direction are RTL and LTR. Alternatively, the control can inherit the text direction from its parent container.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Inherit
.
{sap.ui.core.TextDirection} | sTextDirection | New value for property textDirection |
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |
design
. Setting this property will not have any effect on the appearance of the BusyIndicator in versions greater than or equal to 1.32.1
Default value is auto
.
- Deprecated:
- Since version 1.32.1
{string} | Value of property design |
design
. Setting this property will not have any effect on the appearance of the BusyIndicator in versions greater than or equal to 1.32.1
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is auto
.
{string} | sDesign | New value for property design |
- Deprecated:
- Since version 1.32.1
{sap.m.BusyIndicator} | Reference to this in order to allow method chaining |