eventPhase Event Property

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP







<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->





eventPhase Event Property



❮ DOM Events
❮ Event Object



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
1. CAPTURING_PHASE - The event flow is in capturing phase

2. AT_TARGET - The event flow is in target phase
3. BUBBLING_PHASE - The event flow is in bubbling phase


DOM Version: DOM Level 2 Events


❮ DOM Events
❮ Event Object