.. _Event: ================================================ 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 ^^^^^^^^^^ +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bubbles` readonly | True if the event is of a type that bubbles. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`cancelable` readonly | True if the default action associated with the event can be canceled with preventDefault(). | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`captures` readonly | True if this event can be captured. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`currentTarget` readonly | The event target object which is currently handling the event. During capturing and bubbling, this is different from the property target. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`eventPhase` readonly | The current phase of event propagation; one of none, target, capture, bubble. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`target` readonly | The event target object for this event. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`timeStamp` readonly | The date and time at which the event occurred. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`type` readonly | The name of the event that this object represents. | +----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ Static Properties ^^^^^^^^^^^^^^^^^ +--------------------------------------------------------+--+ | :ref:`AT_TARGET` readonly | | +--------------------------------------------------------+--+ | :ref:`BUBBLING_PHASE` readonly | | +--------------------------------------------------------+--+ | :ref:`CAPTURING_PHASE` readonly | | +--------------------------------------------------------+--+ | :ref:`NOT_DISPATCHING` readonly | | +--------------------------------------------------------+--+ Methods ^^^^^^^ +--------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`preventDefault` readonly | Prevents the default action associated with this event from being called. | +--------------------------------------------------------+---------------------------------------------------------------------------+ | :ref:`stopPropagation` readonly | Stops the propagation of this event. | +--------------------------------------------------------+---------------------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 Event/captures.rst Event/bubbles.rst Event/cancelable.rst Event/currentTarget.rst Event/eventPhase.rst Event/target.rst Event/timeStamp.rst Event/type.rst Event/NOT_DISPATCHING.rst Event/CAPTURING_PHASE.rst Event/AT_TARGET.rst Event/BUBBLING_PHASE.rst Event/preventDefault.rst Event/stopPropagation.rst