svelte-range-slider-pips
Advanced tools
Comparing version 1.5.3 to 1.6.0
{ | ||
"name": "svelte-range-slider-pips", | ||
"version": "1.5.3", | ||
"version": "1.6.0", | ||
"svelte": "src/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/svelte-range-slider-pips.mjs", |
@@ -10,3 +10,3 @@ | ||
**[🔗 _For full documentation and examples, see the Github Pages_](https://simeydotme.github.io/svelte-range-slider-pips/)** | ||
**[📔📘📖 _Full Documentation & Examples_](https://simeydotme.github.io/svelte-range-slider-pips/)** | ||
@@ -35,4 +35,4 @@ | ||
```bash | ||
yarn add --dev svelte-range-slider-pips # or | ||
npm install --save-dev svelte-range-slider-pips # if you prefer npm | ||
yarn add svelte-range-slider-pips --dev # or | ||
npm install svelte-range-slider-pips --save-dev # if you prefer npm | ||
``` | ||
@@ -112,5 +112,12 @@ | ||
**[🔗 _For full documentation and examples, see the Github Pages_](https://simeydotme.github.io/svelte-range-slider-pips/)** | ||
### slider events (dispatched) | ||
event | example | `event.detail` | description | ||
------|------------|--------|------------- | ||
**start** | `on:start={(e) => { ... }}` | `{ activeHandle: Integer, value: Float, values: Array }` | Event fired when the user begins interaction with the slider | ||
**change** | `on:change={(e) => { ... }}` | `{ activeHandle: Integer, previousValue: Float, value: Float, values: Array }` | Event fired when the user changes the value; returns the previous value, also | ||
**stop** | `on:stop={(e) => { ... }}` | `{ activeHandle: Integer, startValue: Float, value: Float, values: Array }` | Event fired when the user stops interacting with slider; returns the beginning value, also | ||
**[📔📘📖 _Full Documentation & Examples_](https://simeydotme.github.io/svelte-range-slider-pips/)** | ||
## contribute | ||
@@ -117,0 +124,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
195567
4106
129