javascript event eventPhase
| eventPhase | NN 6 IE n/a DOM 2 | |||||||
| Read-only | ||||||||
|
Returns an integer conveying whether the event listener is processing the event while in the capture phase, at the event target, or in the bubbling phase. W3C DOM event objects also implement plain-language constants corresponding to the three values. |
||||||||
| Example | ||||||||
if (evt.eventPhase == evt.AT_TARGET) {
// process event listener from the event target
}
|
||||||||
| Value | ||||||||
Integer value from the following table. |
||||||||
|
||||||||
| Default | ||||||||
2 |
||||||||
Previous: javascript event fromElement
Next: javascript event detail
760,Nickname,Homepage or email,Comments here,Add comment
