ember-cli-range-slider
Version:
A different ember-cli addon for the ion.rangeslider jquery component. This also takes a bit from the ember-cli-ion-rangeslider addon and provides a data-down action-up implementation.
40 lines (27 loc) • 964 B
Markdown
for the ion.rangeslider jquery component.
This also takes a bit from the ember-cli-ion-rangeslider addon and provides
a data-down action-up implementation.
ember install ember-cli-range-slider
```htmlbars
{{ember-range-slider
type='double'
to=toAmount
from=fromAmount
min=minAmount
max=maxAmount
step=stepValue // ex: 10, 100, 500
slideStart=(action 'slideStart')
slideStop=(action 'slideStop')
}}
```
The slideStart and slideStop events actions bubble up the to/from values as an array. From there, you can do what you please.
* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`
* `ember build`
For more information on using ember-cli, visit [http://ember-cli.com/](http://ember-cli.com/).
A different ember-cli addon