ZVON > References > DOM2 Reference

Event (interface )


Own properties:
attributes  -  bubbles, cancelable, currentTarget, eventPhase, target, timeStamp, type
methods  -  initEvent, preventDefault, stopPropagation

Description:
The Event interface is used to provide contextual information about an event to the handler processing the event. An object which implements the Event interface is generally passed as the first parameter to an event handler. More specific context information is passed to event handlers by deriving additional interfaces from Event which contain information directly relating to the type of event they accompany. These derived interfaces are also implemented by the object passed to the event listener.

Event Phase Types:
  1 = CAPTURING_PHASE (of type unsigned short)
The current event phase is the capturing phase.
  2 = AT_TARGET (of type unsigned short)
The event is currently being evaluated at the target EventTarget.
  3 = BUBBLING_PHASE (of type unsigned short)
The current event phase is the bubbling phase.