Timer"
From Documentation
m ((via JWB)) |
|||
Line 20: | Line 20: | ||
=Supported Events= | =Supported Events= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
Line 37: | Line 37: | ||
=Use Cases= | =Use Cases= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
Line 47: | Line 47: | ||
=Version History= | =Version History= | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- |
Revision as of 11:06, 7 January 2022
Timer
Employment/Purpose
Timer is a special component that is invisible. It fires one or more org.zkoss.zk.ui.event.Event after a specified delay, notice that the timer won't fire any event until it is attached to a page.
Example
<label id="now" />
<timer id="timer" delay="1000" repeats="true"
onTimer="now.setValue(new Date().toString())" />
Supported Events
Event: Event
Denotes the timer you specified has triggered an event. To know which timer, invoke the getTarget method in the Event class. |
- Inherited Supported Events: HtmlBasedComponent
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|