- From: Jake Verbaten <raynos2@gmail.com>
- Date: Wed, 23 Nov 2011 17:07:18 +0000
- To: Glenn Maynard <glenn@zewt.org>
- Cc: Anne van Kesteren <annevk@opera.com>, www-dom@w3.org
Received on Wednesday, 23 November 2011 17:07:46 UTC
> > Adding a redundant method that clashes with what everyone already > associates with the name (event delegation), > In prototype and jQuery el.on(ev, handler) works and is an alias for adding an event listener. > just to save a few bytes, is definitely not worthwhile. I'd agree it's probably not worthwhile on it's own. Since both jQuery and prototype allowing an optional second argument that filters the event target for event delegation and may be worthwhile to add that instead. The exact semantics of filtering / event delegation would be up for discussion. Would it be worthwhile to have some kind of event delegation mechanism?
Received on Wednesday, 23 November 2011 17:07:46 UTC