JavaScript Event : Object
Instance Properties
Returns true
if preventDefault()
has been called on
this
.
Example:
RunResults:
The current phase of the event. Will be one of NONE
, CAPTURING_PHASE
, AT_TARGET
, or BUBBLING_PHASE
.
Example:
RunResults:
The Object
that originated this event. See also currentTarget
.
Example:
RunResults:
Instance Methods
Stops the browser's default behavior from running for the current event. Only cancelable
events can have their default behavior prevented. See also stopPropagation()
and stopImmediatePropagation()
.
Example:
RunResults:
Stops other event listeners on this node and on other nodes in the event route from running. See also stopPropagation()
and and preventDefault()
.
Example:
RunResults:
Stops event listeners on other nodes in the event route from running. Other listeners attached to currentTarget
will still run. See also stopImmediatePropagation()
and preventDefault()
.