new ProgressBar(config)
Create a new Neptune Progress Bar
Parameters:
Name | Type | Description |
---|---|---|
config |
any | Add your configuration parent -> class or id of your target element, when null its document.body size -> xs, s, m, l, xl style -> primary, accent, information, success, warning, error progress -> set the progress of the par width a number |
- Source:
Example
const myProgressBAr = new ProgressBar({
size: "l",
style: "primary",
progress: 30
});