Closed siscia closed 9 years ago
You can think of dommy.core/listen!
as essentially analogous to the native addEventListener
since it's really just a light wrapper around it. Adding a key event is as simple as:
(dommy/listen! element :keydown (fn [e] (js/console.log e)))
There is a way to listen for a key{press-down-up} ?
I haven't found it...