cdig / svga

A framework for making interactive animations with SVG.
https://github.com/cdig/svga/wiki
MIT License
8 stars 2 forks source link

Event Delegation #114

Closed ivanreese closed 8 years ago

ivanreese commented 8 years ago

Right now, each call to Input adds new listeners to the window, elements, etc. Could we gain some perf by only adding one listener and handling our own dispatch? There's probably some decent caching we could do here, since we know the structure of the DOM is stable.

ivanreese commented 8 years ago

Not worth the complexity, for now.