Utility functions for working with low-level synthetic js events on the DOM
Utility functions for working with low-level synthetic js events on the DOM
(alt? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(ctrl? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(delete? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(down-arrow? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(end? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(enter-key? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(enter? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(escape-key? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(escape? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F10? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F11? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F12? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F1? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F2? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F3? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F4? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F5? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F6? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F7? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F8? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(F9? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(home? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(is-key? code evt)
Is the given key code on the given event?
Is the given key code on the given event?
(left-arrow? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(page-down? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(page-up? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(prevent-default! evt)
Calls .preventDefault on the given event. Safe to use in CLJC files.
Calls .preventDefault on the given event. Safe to use in CLJC files.
(right-arrow? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(shift? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(stop-propagation! evt)
Calls .stopPropagation on the given event. Safe to use in CLJC files.
Calls .stopPropagation on the given event. Safe to use in CLJC files.
(tab? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
(target-value evt)
Returns the event #js evt.target.value. Safe to use in CLJC.
Returns the event #js evt.target.value. Safe to use in CLJC.
(up-arrow? evt)
Returns true if the event has the keyCode of the function name.
Returns true if the event has the keyCode of the function name.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close