Registering Appropriate Listeners"
From Documentation
Tmillsclare (talk | contribs) m (Created page with '{{ZKComponentDevelopmentEssentialsPageHeader}} Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framewor…') |
Tmillsclare (talk | contribs) m |
||
Line 3: | Line 3: | ||
Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framework ZK is no different. To accomplish our goal of a clear button we need to do two things: | Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framework ZK is no different. To accomplish our goal of a clear button we need to do two things: | ||
− | #Capture clicks on our | + | #Capture clicks on our "target" |
#Fire a custom onClear event when the target is clicked | #Fire a custom onClear event when the target is clicked | ||
{{ZKComponentDevelopmentEssentialsPageFooter}} | {{ZKComponentDevelopmentEssentialsPageFooter}} |
Revision as of 05:01, 14 July 2010
Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framework ZK is no different. To accomplish our goal of a clear button we need to do two things:
- Capture clicks on our "target"
- Fire a custom onClear event when the target is clicked