Spinners are used for showing a system process of unknown length going on that ends with the system displaying results to the user.
|Included in AUI core?||Not in core You must explicitly require the web resource key.|
|Web resource key:||
|AMD Module key:||N/A|
|Web Component API:||7.7|
AUI's spinner is just an HTML element. Add it to wherever you need to indicate progress is being made.
If you need a spinner to fit in the middle of a containing element,
filled attribute to the spinner element.
You can add a spinner to an AUI Button by setting the button's
busy property to
An Enum which provides size of the spinner.
Possible values are:
A Boolean which changes behavior of the spinner.
When present, the spinner element will be placed in the middle of the parent element and have a width and height of zero.
There are two jQuery functions available you can call on an element to add and remove a filled spinner.
AJS.$(element).spin() will append the following spinner to
AJS.$(element).spinStop() will remove the spinner element.