Event.eventPhase (Property)

Describes what phase the event is currently being processed in.


DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:NmyEvent.eventPhase

A new concept that has been introduced at DOM level 2 is that of event phases. This allows your handler to determine the current disposition of an event from the script interface. You can examine the eventPhase property and test it against one of the predefined constants.

DOM level 2 introduces these static constants to the Event class to describe the current state of an event that is encapsulated by the Event object:

ValueSymbolic Name

See also:Event type constants

Property attributes: