event
Element event binding component.
Installation
$ component install component/event
Example
var events = ;var a = document; { e; console; events;} events;
API
.bind(el, type, callback, [capture])
Bind to el
's event type
with callback
,
returns the callback
passed.
.unbind(el, type, callback, [capture])
Unbind el
's event type
callback
,
returns the callback
passed.
License
MIT