vdom-event-listener
A virtual-dom hook that adds eventListeners on dom nodes
Example
const h = const EventListener = { console} { return }
Usage
new EventListener(function handler (event), [eventType])
handler
is a function that takes the event that will be fired off as its only argument.
eventType
defaults to 'keydown'
, but for input types like 'checkbox'
it is better to use 'change'
.