Paper-Slider components
vaadin-wrappers for paper-slider and paper-range-slider
PaperRangeSlider wraps https://vaadin.com/directory/component/iftachsadehpaper-range-slider/ PaperSlider wraps https://vaadin.com/directory/component/polymerelementspaper-slider
Sample code
//min is 0, max is 100, lower value is 20, upper value is 80 PaperRangeSlider paperRangeSlider = new PaperRangeSlider(0, 100, 20, 80); paperRangeSlider.addValueChangeListener(e -> { final PaperRangeSlider.IntRange range = e.getValue(); range.getLowerValue(); range.getUpperValue(); }); //min is 0, max is 100, value is 50 PaperSlider paperSlider = new PaperSlider(0, 100, 50); paperSlider.addValueChangeListener(e -> { //value is Integer e.getValue(); });
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
first version
- Released
- 2019-03-29
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 10+
- Browser
- Browser Independent
Paper-Slider components - Vaadin Add-on Directory
vaadin-wrappers for paper-slider and paper-range-sliderPaperRangeSlider wraps https://vaadin.com/directory/component/iftachsadehpaper-range-slider/
PaperSlider wraps https://vaadin.com/directory/component/polymerelementspaper-slider
View on GitHubPaper-Slider components version 1.0.0
first version