fireOnce listeners will fire syncronously unless async
is set to true
Default Value: false
If 0, this event does not broadcast. If 1, the YUI instance is notified
every time this event fires. If 2, the YUI instance and the YUI global
(if event is enabled on the global) are notified every time this event
fires.
Specifies whether or not a subscriber can stop the event propagation
via stopPropagation(), stopImmediatePropagation(), or halt()
Events can only bubble if emitFacade is true.
Default Value: true
The context the the event will fire from by default. Defaults to the YUI
instance.
The default function to execute after event listeners
have fire, but only if the default action was not
prevented.
If set to true, the custom event will deliver an EventFacade object
that is similar to a DOM event object.
Default Value: false
This event has fired if true
Default Value: false;
An array containing the arguments the custom event
was last fired with.
This event should only fire one time if true, and if
it has fired, any new subscribers should be notified
immediately.
Default Value: false;
host
- EventTarget
Specifies the host for this custom event. This is used
to enable event bubbling
Monitor when an event is attached or detached.
Specifies whether or not this event's default function
can be cancelled by a subscriber by executing preventDefault()
on the event facade
Default Value: true
Flag for preventDefault that is modified during fire().
if it is not 0, the default behavior for this event
The function to execute if a subscriber calls
preventDefault
Specifies whether this event should be queued when the host is actively
processing an event. This will effect exectution order of the callbacks
for the various events.
Default Value: false
Supports multiple options for listener signatures in order to
port YUI 2 apps.
Default Value: 9
By default all custom events are logged in the debug build, set silent
to true to disable debug outpu for this event.
Flag for stopPropagation that is modified during fire()
1 means to stop propagation to bubble targets. 2 means
to also stop additional subscribers on this target.
The function to execute if a subscriber calls
stopPropagation or stopImmediatePropagation
The subscribers to this event
type
- string
The type of event, returned to subscribers when the event fires