lz.DeclaredEventClass

JavaScript: lz.DeclaredEventClass
The type of the initial value for an event that has no delegates registered to receive the event. Automatically replaced with an <event> when an <handler> registers to receive the event.

Methods

sendEvent()
lz.DeclaredEventClass.sendEvent(eventValue : *);
Sends an event to all the delegates that are registered to receive this event. Each registered delegate's method will be called with the single argument of sendEvent.
Parameter Name Type Description
eventValue * (Optional) The value to pass when executing the delegates registered to receive the event. If omitted, null will be sent.