Slider and Scroll Events"
From Documentation
Maya001122 (talk | contribs) m (Created page with '{{ZKDevelopersGuidePageHeader}} {| border="1" ! <center>Event Name</center> ! <center>Components</center> ! <center>Description</center> |- | onScroll | slider | Event: <tt>…') |
Maya001122 (talk | contribs) m |
||
Line 10: | Line 10: | ||
| onScroll | | onScroll | ||
| slider | | slider | ||
− | | Event: < | + | | Event: <javadoc>org.zkoss.zk.ui.event.ScrollEvent</javadoc> |
Denotes the content of a scrollable component has been scrolled by the user. | Denotes the content of a scrollable component has been scrolled by the user. | ||
Line 17: | Line 17: | ||
| onScrolling | | onScrolling | ||
| slider | | slider | ||
− | | Event: < | + | | Event: <javadoc>org.zkoss.zk.ui.event.ScrollEvent</javadoc> |
Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until <tt>onScroll</tt> is received. Thus, you have to invoke the <tt>getPos</tt> method in the <tt>ScrollEvent</tt> class to retrieve the temporary position. | Denotes that user is scrolling a scrollable component. Notice that the component's content (at the server) won't be changed until <tt>onScroll</tt> is received. Thus, you have to invoke the <tt>getPos</tt> method in the <tt>ScrollEvent</tt> class to retrieve the temporary position. |
Revision as of 02:01, 15 July 2010
This documentation is for an older version of ZK. For the latest one, please click here.
onScroll | slider | Event: ScrollEvent
Denotes the content of a scrollable component has been scrolled by the user. |
onScrolling | slider | 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. |