Declare an event on the object that contains it.
The <event> tag declares that the containing
object can generate the event named name. Note that the name of the event must not begin witn an underscore.
In a class definition, the <event> tag
defines an event that can be sent from instances of the class.
In LZX, events are generated automatically by
the setAttribute method. When you
call obj.setAttribute('attrname', val), an event named
with the prefix "on" and name of an the attribute is sent, in this case
the event called would be named onattrname and a single
arg value of val would be passed.
See the Guide for a complete discussion.
Also see the documentation for <handler>.
| Attributes | |||||
| Name | Usage | Type (Tag) | Type (JS) | Default | Category |
| name | Tag only | token | final | ||
|
The name of a variable that will be set to this object when the
application is started. If this element is directly within a |
|||||
|
|
|||||
Copyright © 2002-2005 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.