1.0.0 • Published 2 years ago
progress-bar-plugin-using-javascript v1.0.0
simple progress bar plugin using javascript
Installation
Install using NPM
npm i simple-progress-bar-using-javascript
Use
Include the plugin styles:
<link
rel="stylesheet"
href="../node_modules/simple-progress-bar-using-javascript/src/style.css"
/>
Add the plugin to the page:
<script src="../node_modules/simple-progress-bar-using-javascript/src/index.js"></script>
In HTML:
set the progress bar
<div id="progress-bar"></div>
pass the progress value , Add progressValue(progress-value)
function with needed value to the body tag
<body onload="progressValue(100)">
1.0.0
2 years ago