Event

Description

Base class for UIEvent.

Encapsulates input event information for an event that propagates through a container and control hierarchy. Implements W3C standard event handling.

Properties

bubbles readonly True if the event is of a type that bubbles.
cancelable readonly True if the default action associated with the event can be canceled with preventDefault().
captures readonly True if this event can be captured.
currentTarget readonly The event target object which is currently handling the event. During capturing and bubbling, this is different from the property target.
eventPhase readonly The current phase of event propagation; one of none, target, capture, bubble.
target readonly The event target object for this event.
timeStamp readonly The date and time at which the event occurred.
type readonly The name of the event that this object represents.

Static Properties

AT_TARGET readonly  
BUBBLING_PHASE readonly  
CAPTURING_PHASE readonly  
NOT_DISPATCHING readonly  

Methods

preventDefault readonly Prevents the default action associated with this event from being called.
stopPropagation readonly Stops the propagation of this event.