Slider"
From Documentation
Tmillsclare (talk | contribs) |
|||
Line 57: | Line 57: | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
− | | | + | | 5.0.4 |
− | | | + | | August 2010 |
− | | | + | | <javadoc method="setPageIncrement(int)">org.zkoss.zul.Slider</javadoc> is supported. |
|} | |} | ||
{{ZKComponentReferencePageFooter}} | {{ZKComponentReferencePageFooter}} |
Revision as of 03:49, 2 September 2010
Slider
Employment/Purpose
A slider component represents a slider with slid and knob. It can be used to let user specify a value by scrolling. A slider accepts a range of value starting from 0 to 100. You could change the maximum allowed value by the maxpos property.
Example
<slider id="slider" />
<slider curpos=”1” maxpos=”20” />
Supported events
Event: ScrollEvent
Denotes the content of a scrollable component has been scrolled by the user.
| |
Event: ScrollEvent
Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until onScroll is received. Thus, you have to invoke the getPos method in the ScrollEvent class to retrieve the temporary position. |
Supported Children
*ALL
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.4 | August 2010 | Slider.setPageIncrement(int) is supported. |