Re: Adding an interface to provide a list of listeners
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78ivHQUJQhx6cHWoDej3jm+yVsZoOqfvi8i4uKpxu=eOPQ@mail.gmail.com> |
On Mon, Jul 28, 2014 at 3:12 AM, Tab Atkins Jr. <[email protected]> wrote: > Yeah, probably better to add an optional "namespacing" string to > addEventListener, and then removeEventListener can kill all listeners > with the same namespace string. (Allow Symbols as well as strings, > and you safeguard UA listeners without magic.) See https://gist.github.com/annevk/5238964 for the last time I sketched something along these lines. -- http://annevankesteren.nl/