|
Processing... Drag or click to adjust a range
Description & Source Code
A multislider component represents a slider with multiple ranges. It includes sliderbuttons, which can be used to let user select a start value and an end value. A multislider accepts a range of values starting from 0 to a maximum value you defined. The default maximum value is 100. You can change the maximum value by setting the max property. Notice that the value of max property is always larger than the value of min property.
multislider.zul
<zk xmlns:h="native"> The slider represents the temperature settings for a manufacturing process <nodom apply="demo.input.range_slider.MultiSliderComposer"> <multislider width="100%" markScale="10"> <sliderbuttons id="warning" startValue="10" endValue="70"/> <sliderbuttons id="proper" startValue="20" endValue="50"/> </multislider> <vlayout stubonly="true" style="margin-top:50px"> <h:div class="proper"> <label value="Proper: "/> <label sclass="properRange" stubonly="false"/> </h:div> <h:div class="warning"> <label value="Warning: "/> <label sclass="warningRange" stubonly="false"/> </h:div> <h:div class="dangerous"> <label value="Dangerous: "/> <label sclass="dangerousRange" stubonly="false"/> </h:div> </vlayout> </nodom> <style src="/widgets/input/multislider/multislider.css"/> </zk>
Copyright © 2005-2024 Potix Corporation All rights reserved.
|
Processing... |