lz.Idle
is the single instance of the class
lz.IdleService
.
The OpenLaszlo runtime generates idle events at a fixed,
unspecified frequency. Here is a simple example that shows how to
receive the onidle
event:
<canvas
height
="80
">
<text
name
="display
"/>
<attribute
name
="counter
" value
="0
"/>
<handler
name
="onidle
" reference
="LzIdleService.LzIdle
">
display.format("Received %d idle events", ++counter);
</handler
>
</canvas
>
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
LzIdle
|
lz.IdleService | readonly | ||
The idle service. Also available as the global
lz.Idle .
|
Methods
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.