Javascript DOM Event eventPhase Property

Introduction

The eventPhase event property returns a number telling which phase of the event flow is 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



PreviousNext

Related