Replies: 1 comment 1 reply
-
We need more demand for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Requested Feature
A "buffer" mode to the ProgressBar component to display two layers of progress: the primary progress and a secondary buffer progress, enhancing feedback for operations such as loading, streaming, or preloading content.
Description
The buffer mode is essential for scenarios requiring a visual representation of both current progress and the extent of additional processing or preloading, similar to how YouTube indicates video loading.
This mode adds a secondary progress bar behind the primary one but different color/opacity to distinguish the buffered amount from the actual progress.
Proposed API Changes
mode="buffer"
bufferValue
: Number representing the secondary progress.buffer
E.g.:
<ProgressBar mode="buffer" :value="30" pt:value:class="bg-red-500" :bufferValue="60" pt:buffer:class="bg-red-200" />
Multiple Progress Bars
An even better feature would be "multiple progress bars" (1+) instead of just "buffer" (2) E.g. Boostrap
Beta Was this translation helpful? Give feedback.
All reactions