Slider

From Documentation
Revision as of 23:20, 2 May 2010 by Ashishd (talk | contribs)

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

File:Slider.png

 <slider id="slider" />
 <slider curpos=”1” maxpos=”20” />

Supported events

Name
Event Type
onScroll
Event: ScrollEvent

Denotes the content of a scrollable component has been scrolled by the user.


onScrolling
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
5.0 Radiogroup and selection http://www.zkoss.org/forum/listComment/12148
5.0 Radiogroup, data binding and TypeConverter http://www.zkoss.org/forum/listComment/7011

Version History

Version Date Content
5.0.1 4/30/2010 Initialization



Last Update : 2010/05/02

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.