Syntax of the WL.BusyIndicator constructor
WL.BusyIndicator (containerId, options)
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
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
Options for Windows Phone 7 and Windows Phone 8
Options for Windows 8
Options for Other Environments
Parent WL.BusyIndicator (object)