aria-progress-range-slider
Advanced tools
Comparing version 0.0.2 to 0.0.4
{ | ||
"name": "aria-progress-range-slider", | ||
"version": "0.0.2", | ||
"version": "0.0.4", | ||
"description": "Accessible progress bar / slider component", | ||
@@ -9,3 +9,4 @@ "scripts": { | ||
"build": "rm -rf ./dist && microbundle --entry ./src/index.ts --output ./dist && parcel build src/style.scss --out-dir ./dist", | ||
"build-docs": "rm -rf ./docs && parcel build index.html --out-dir ./docs --public-url /aria-progress-range-slider" | ||
"build-docs": "rm -rf ./docs && parcel build index.html --out-dir ./docs --public-url /aria-progress-range-slider", | ||
"prepublish": "npm run build && npm run build-docs" | ||
}, | ||
@@ -38,4 +39,3 @@ "devDependencies": { | ||
}, | ||
"homepage": "https://github.com/Stanko/aria-progress-range-slider#readme", | ||
"prepublish": "npm run build && npm run build-docs" | ||
"homepage": "https://github.com/Stanko/aria-progress-range-slider#readme" | ||
} |
@@ -18,2 +18,17 @@ # Accessible Progres bar / Range slider | ||
## Usage | ||
```js | ||
// Import the class | ||
import ProgressBar from 'aria-progress-range-slider'; | ||
// and the CSS | ||
import 'aria-progress-range-slider/dist/style.css'; | ||
const selector = '.progress-bar'; | ||
const options = {}; | ||
new ProgressBar(selector, options); | ||
``` | ||
## Options | ||
@@ -20,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95312
66