Client Activity Watches"
From Documentation
m |
|||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | In most cases, a widget or an application needs only to listen <javadoc directory="jsdoc">zk.Event</javadoc> as described in [[ZK Developer's Reference/Client-side Control/Event Listening|the Client-side Event listening section]]. However, there are some activities not available as a DOM event (<javadoc directory="jsdoc">jq.Event</javadoc>) or a ZK event (<javadoc directory="jsdoc">zk.Event</javadoc>)<ref>A ZK event is a wrapper of a DOM event to provide more functionality. | + | __TOC__ |
+ | In most cases, a widget or an application needs only to listen <javadoc directory="jsdoc">zk.Event</javadoc> as described in [[ZK Developer's Reference/Client-side Control/Event Listening|the Client-side Event listening section]]. However, there are some activities not available as a DOM event (<javadoc directory="jsdoc">jq.Event</javadoc>) or a ZK event (<javadoc directory="jsdoc">zk.Event</javadoc>)<ref>A ZK event is a wrapper of a DOM event to provide more functionality. A DOM event is caused by the browser, and is actually a wrapper class from jQuery to encapsulate the browser's incompatibility.</ref>, such as when a widget is becoming invisible, or a window is brought to top. This kind of activity can be listened by so-called watch (<javadoc directory="jsdoc">_global_.zWatch</javadoc>) | ||
<blockquote> | <blockquote> | ||
Line 7: | Line 8: | ||
<references/> | <references/> | ||
</blockquote> | </blockquote> | ||
+ | |||
+ | =Listen and Unlisten= | ||
+ | =Client Activities= | ||
+ | == beforeSize == | ||
+ | == onBindLevelChange == | ||
+ | == onHide == | ||
+ | == onFloatUp == | ||
+ | == onResponse == | ||
+ | == onScroll == | ||
+ | == onSend == | ||
+ | == onSize == | ||
+ | == onShow == | ||
=Version History= | =Version History= |
Revision as of 09:45, 1 December 2010
In most cases, a widget or an application needs only to listen Event as described in the Client-side Event listening section. However, there are some activities not available as a DOM event (Event) or a ZK event (Event)[1], such as when a widget is becoming invisible, or a window is brought to top. This kind of activity can be listened by so-called watch (zWatch)
- ↑ A ZK event is a wrapper of a DOM event to provide more functionality. A DOM event is caused by the browser, and is actually a wrapper class from jQuery to encapsulate the browser's incompatibility.
Listen and Unlisten
Client Activities
beforeSize
onBindLevelChange
onHide
onFloatUp
onResponse
onScroll
onSend
onSize
onShow
Version History
Version | Date | Content |
---|---|---|