Capturing key-presses in Clojurescript with Closure

1 Like

What’s the benefit you get from this vs (.addEventListener js/document)? :slight_smile:

Thanks for the good question! The event is browser consistency/compatibility.

1 Like

I’ve also updated the post with some Gotcha! we discovered, and a recommendation to use re-pressed if you have sophisticated keyboard application needs.


Thanks for the info. :slight_smile: And thanks for sharing.