eventPhase Event Property
Definition and Usage
The eventPhase event property returns a number that indicates which phase of the event flow is currently being evaluated.
The number is represented by 4 constants:
1. CAPTURING_PHASE - The event flow is in capturing phase
2. AT_TARGET - The event flow is in target phase, i.e. it is being evaluated at the event target
3. BUBBLING_PHASE - The event flow is in bubbling phase
|Return Value:||A Number, representing which phase of the event flow is currently being evaluated
|DOM Version:||DOM Level 2 Events|
event.eventPhase is a DOM Level 2 (2001) feature.
It is fully supported in all browsers: