Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery UI API - Progressbar Widget

jQuery UI API - Progressbar Widget

Category

Widgets

Usage

**Description:** Display a determinate or indeterminate progress status.

**Version added:** 1.6

A progressbar is designed to display the current completion percentage of a process. The progressbar is flexibly sized via CSS and by default scales to fit its parent container.

A determinate progressbar should only be used when the system can accurately update the current status. A determinate progressbar does not fill from left to right and then loop back to empty - if the actual status cannot be calculated, use an indeterminate progressbar to provide user feedback.

Theming

The Progressbar Widget uses jQuery UI CSS Framework to define the style of its look and feel. To use progressbar-specific styling, you can use the following CSS class names:

- `ui-progressbar-value`: This element represents the filled portion of the progressbar. - `ui-progressbar-overlay`: The overlay used to display the animation for an indeterminate progressbar.

Depends on

Additional Notes

Example

A simple jQuery UI indeterminate progressbar.









  

  进度条部件(Progressbar Widget)演示