Class EventFacade
Wraps and protects a custom event for use when emitFacade is set to true.
Requires the event-custom-complex module
Properties
Node reference for the element that the listener was attached to.
The arguments passed to fire
Node reference to the relatedTarget
Node reference for the targeted eventtarget
type
- string
The event type, this can be overridden by the fire() payload
Methods
void
halt
(
immediate
)
Stops the event propagation and prevents the default
event behavior.
- Parameters:
-
immediate
<boolean>
if true additional listeners
on the current target will not be executed
void
preventDefault
(
)
Prevents the event's default behavior
void
stopImmediatePropagation
(
)
Stops the propagation to the next bubble target and
prevents any additional listeners from being exectued
on the current target.
void
stopPropagation
(
)
Stops the propagation to the next bubble target