[Bug 16491] New: Add simpler and better event registration system

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16491

           Summary: Add simpler and better event registration system
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@opera.com
        ReportedBy: annevk@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


At TPAC and on the mailing list it was brought up to have something like

  target.on.{event}.add(handler)
  target.on.{event}.remove(handler)

To these event listeners it would be as if all events bubble. You could pass
some kind of options object for constraints. Having event delegation natively
was also brought up. Nobody has made a concrete proposal to date however.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 23 March 2012 08:24:21 UTC