From Documentation
Revision as of 10:40, 12 January 2022 by Hawk (talk | contribs) ((via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


  • Demonstration: Timer
  • Java API: Timer
  • JavaScript API: Timer
  • Style Guide: N/A


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.


<label id="now" />
<timer id="timer" delay="1000" repeats="true"
	onTimer="now.setValue(new Date().toString())" />

Supported Events

Event Type
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


Use Cases

Version Description Example Location

Version History

Last Update : 2022/01/12

Version Date Content

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