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:
0. NONE
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
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
eventPhase | Yes | 9.0 | Yes | 2.0 | 8.0 |
Syntax
event.eventPhase
Technical Details
Return Value: | A Number, representing which phase of the event flow is
currently being evaluated
Possible values: 0. NONE |
---|---|
DOM Version: | DOM Level 2 Events |
< Event Object