Event Spy
WIP event spy. Useful for debugging purposes. Must be initialized at the top of your script.
Example
;
Installation
$ component install matthewmueller/event-spy
API
spy(type, fn)
Spy on events. type
can either be a string or a regex. If no type
given, spy watches all events.
mouseover
andmousedown
events:
;
- All events:
;
spy#destroy()
Removes the spy
TODO
- fix removeEventListener()
- tests
License
MIT