Capture happens before bubbling.
Go for the capture phase if it works for you and you need to shave a few
microseconds.
Just remember that the capture phase does not extend to the actual target.
___
Flashcoders mailing list
That's what I thought, thanks. :-)
Kevin N.
On 4/5/11 2:28 AM, Henrik Andersson wrote:
Capture happens before bubbling.
Go for the capture phase if it works for you and you need to shave a
few microseconds.
Just remember that the capture phase does not extend to the actual
target.
Hello all,
I'm curious - if I use someObj.addEventListener(MouseEvent.CLICK,
someFunc, true); then do evt.stopPropagation - is that faster than if I
don't set useCapture = true?
The thinking is that it won't have to climb the display list hierarchy
down to the target, then back up again -
3 matches
Mail list logo