Timer
From Documentation
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. |
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.2 | 5/19/2010 | Initialization |