1.0.3 • Published 1 year ago

@annoyingmouse/wc-progress v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This web component creates a highly configurable progress element.

Published on webcomponents.org

Demo here: https://codepen.io/annoyingmouse/pen/rNZZGMj

Usage

<wc-progress></wc-progress>
<script type="module" src="wc-progress.js"></script>

Configuration

The progress bar's appearance and behaviour can be changed using attributes.

Adding a height number variable will change the height of the progress bar from the default of 20px.

Adding a start hex colour variable will change the start colour of the progress bar from the default of #FF0000.

Adding a middle hex colour variable will change the middle colour of the progress bar from the default of #FF9900.

Adding a end hex colour variable will change the end colour of the progress bar from the default of #33FF00.

Adding the progress number variable will change the width of the progress bar.

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago