StopPropgation останавливает распространение события в фазе захвата?
Я смотрел наhttp://www.quirksmode.org/js/events_order.html и это неоднозначно в этой части:
In the Microsoft model you must set the event’s cancelBubble
property to true
.
window.event.cancelBubble = true
In the W3C model you must call the event’s stopPropagation()
method.
e.stopPropagation()
This stops all propagation of the event in the bubbling phase.
Итак, мой вопрос:
When an event listener is set to listen in the capture phase, does it automatically not continue propagating to the inner elements? Or if it does continue propagating, does callinge.stopPropagation()
stop it, or does that only work for the bubble phase?