Re: Better event listeners

On Tue, Feb 12, 2013 at 2:23 PM, Glenn Maynard <glenn@zewt.org> wrote:
> It doesn't work completely differently.  It works exactly the same.
> addEventListener("click", func, true) would be exactly equivalent to
> addEventListener("click", func, {capture: true}).

Yes, but it would also return an object (for which it's not at all
clear that's web compatible). And I think if the preferred API is
going to support event delegation we should also by default ignore
bubbles.


-- 
http://annevankesteren.nl/

Received on Tuesday, 12 February 2013 14:34:29 UTC