Chuyển tới nội dung chính

Progressbar

Cú pháp

<zmp-progressbar>

Progressbar là component giúp thể hiện tiến trình của một hoạt động

Progressbar Properties

PropTypeDescription
progressnumberXác định tiến độ (từ 0 đến 100)
infinitebooleanBật Progressbar vô hạn hoặc không

Progressbar Instance Methods

Để thay đổi progress của progress bar từ bên ngoài, ta có thể dùng instance method:

| <Progressbar/> methods | | ------------------------ | ---------------------------- | | .set(progress, duration) | Đặt tiến độ cho progress bar |

Ví dụ:

Code demo fallback when rendering server side!

Ví dụ

Code demo fallback when rendering server side!