Slider and Scroll Events"

From Documentation
m
m (correct highlight (via JWB))
 
Line 19: Line 19:
 
| Event: <javadoc>org.zkoss.zk.ui.event.ScrollEvent</javadoc>
 
| 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 <code>onScroll</code> is received. Thus, you have to invoke the <code>getPos</code> method in the <code>ScrollEvent</code> class to retrieve the temporary position.
  
 
|}
 
|}
  
 
{{ ZKDevelopersGuidePageFooter}}
 
{{ ZKDevelopersGuidePageFooter}}

Latest revision as of 10:45, 19 January 2022

Slider and Scroll Events


Stop.png This documentation is for an older version of ZK. For the latest one, please click here.



Event Name
Components
Description
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.



Last Update : 2022/01/19

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