YAHOO.util.CustomEvent
(
type
,
context
,
silent
,
signature
,
fireOnce
)
- Parameters:
-
type <String>The type of event, which is passed to the callback when the event fires -
context <Object>The context the event will fire from. "this" will refer to this object in the callback. Default value: the window object. The listener can override this. -
silent <boolean>pass true to prevent the event from writing to the debugsystem -
signature <int>the signature that the custom event subscriber will receive. YAHOO.util.CustomEvent.LIST or YAHOO.util.CustomEvent.FLAT. The default is YAHOO.util.CustomEvent.LIST. -
fireOnce <boolean>If configured to fire once, the custom event will only notify subscribers a single time regardless of how many times the event is fired. In addition, new subscribers will be notified immediately if the event has already been fired.