Range Slider component backed by jQueryTool's rangeinput
MIT License
Range slider input which uses jQuery Tools RangeInput library behind the scenes. This slider has custom styling.
ember install:addon ember-cli-range-input
{{range-input min=0 max=5 step=1 value=awesomeness}}
Awesomeness: {{awesomeness}}
min
- Defaults to 0max
- Defaults to 10step
- Defaults to 1value
- Defaults to min if falsy and not 0Note: If using a decimal/float in any of the values, be sure to use a string, e.g. '0.05'.
{{range-input max=1 step='0.05' value=layer.opacity changed='layerOpacityUpdated'}}
changed
- Takes the following signature function (currentValue, previousValue) {}
If you'd like to submit a pull request or just run the latest code, this is how you do it.
git clone
this repositorynpm install
bower install
ember server
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.