How to use
-
Clone this project at this repository on Github .
-
Copy the Js file progressBarComponent.js to your project folder
-
Import the Js file on a tag script above the close body tag in your html document .
-
insert the custom tag
progress-bar
on your html document to it be rendered. -
You have to pass two params to the tag
progress-bar
that are:
- eventName :
The name of event that will be rendered
- percentOfLoad :
Percentage of vacancies that are already filled in the current event
- You can repeat this tag how many time do you want in your html document .