Custom element range component, a part of Bigfoot UI kit.
npm install bigfoot-ui
- full library with polyfills
index.js
import * as bigfootui from "bigfoot-ui";
index.html
<html lang="en">
<body>
<hz-range></hz-range>
<div id="hzrange"></div>
<script src="index.js"></script>
<script>
document.querySelector("hz-range").addEventListener("range-change", (e)=>{
hzrange.innerText = e.detail
})
</script>
</body>
</html>
<div>
<hz-range></hz-range>
</div>
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Apache License 2.0