IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API > WL.BusyIndicator (object)

WL.BusyIndicator (constructor)

Syntax of the WL.BusyIndicator constructor

Parameter Description
containerId Optional string. The name of the HTML element in which the indicator is displayed. The indicator is centered horizontally and vertically within the element. If not provided or null, the element with ID content is used.

Not relevant where the busy indicator is implemented natively, that is, on iOS, Android, Windows Phone 7, Windows Phone 8, and Windows 8.

options Optional. A JSON hash object.

Options for iPhone

text String.
bounceAnimation Boolean. Show a bounce animation when the busy indicator is displayed. Default: false.
opacity Float. Number in the range 0 - 1.
textColor String. Color name or color notation, such as "00FF00" or "green". Default: white.
strokeOpacity Float.
fullScreen Boolean. Show the overlay over the entire screen. Default: false.
boxLength Float. Height and width of the overlay, when fullScreen is false.
duration Double Duration in seconds.
minDuration Integer Minimum duration in seconds.

Options for Android

text String.

Options for Windows Phone 7 and Windows Phone 8


Options for Windows 8


Options for Other Environments

text String.

Parent WL.BusyIndicator (object)