2.0.1 • Published 7 years ago

progress-bar-element v2.0.1

Weekly downloads
47
License
Apache-2.0
Repository
github
Last release
7 years ago

Published on webcomponents.org

\<progress-bar>

progress-bar is a vanilla indeterminate progress bar with no dependencies that is smaller than 2KB.

<progress-bar></progress-bar>
<progress-bar class="salmon"></progress-bar>
<progress-bar class="fast"></progress-bar>

Finish gracefully

Use the disable attribute to let the progress bar finish gracefully instead of abruptly.

API reference

Disable the progress element using the hidden attribute.

Custom propertyDescriptionDefault
--progress-bar-colorColor of the progress bar#37A0CE
--progress-bar-durationDuration of the animation2s
--progress-bar-delayDelay before the animation begins0s