Progress indicators inform users that a system process is currently taking place that takes a predictable amount of time before it is finished.
API status: | general |
---|---|
Included in AUI core? | Not in core You must explicitly require the web resource key. |
Web resource key: |
com.atlassian.auiplugin:aui-progress-indicator |
AMD Module key: | N/A |
Experimental since: | 5.2 |
General API status: | 5.8 |
Web component since: | 7.7 |
To get an initial progress bar, simply add an
When the indeterminate
state is set, the user will be notified that progress cannot be described
in numeric terms. When unset, the progress bar will return to its previously set values.
Name | Attribute | Property | Type | Default | Description |
---|---|---|---|---|---|
max |
Number | 1 |
An integer or floating point number for the largest number allowed in value .
|
||
value |
Number | 0 |
An integer or floating point number representing the current progress.
The value will be conveyed to the user as a percentage of the max
value, both visually and in assistive devices.
|
||
indeterminate |
Boolean | false |
Set to true to convey that the current progress cannot be determined at this point in time.
|
An imperative API exists to update static progress bar HTML. In almost every case, the web component API is simpler, and should be the preferred method of using this component going forward.
Function | Arguments | Description | Example Usage |
---|---|---|---|
update Deprecated | element, value | updates the specified progress bar to the specified value.
Important note: do not add the |
|
setIndeterminate Deprecated | element | Sets a determinate progress bar back to its indeterminate state. NOTE: This will lose any progress on the progress bar. To retain the current progress you can read the 'data-value' attribute on the DOM Element. |