Ekho
A DOM-agnostic eventing library with bubbling.
Example
// Inherit from Eventfulvar Thing = Eventful // Instantiatevar foo = Thingvar bar = Thing // bar events will bubble to foo // Attach some listenersfoo bar // Then trigger the eventsbar// => bar: Hello// => foo: Hello foo// => foo: Hello
Installing
$ npm install ekho
Platform support
This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3
Licence
MIT/X11. i.e.: Do whatever you fucking want, bro.