(bounding-client-rect elem)
(bounding-client-rect elem {:keys [as-clojure?]})
(ctrl-key? event)
Return a boolean value indicating whether or not the event indicates the control key was pressed
Return a boolean value indicating whether or not the event indicates the control key was pressed
(debounce f & [timeout])
Accepts a function and returns a function that will execute the given function after a delay (300 milliseconds unless otherwise specified) if the function is not invoked again during the delay (in which case case the timer starts again and the given fn invoked after the delay).
Accepts a function and returns a function that will execute the given function after a delay (300 milliseconds unless otherwise specified) if the function is not invoked again during the delay (in which case case the timer starts again and the given fn invoked after the delay).
(enter? event)
Return a boolean value indicating whether or not the event represents a press of the enter key
Return a boolean value indicating whether or not the event represents a press of the enter key
(key-code event)
Get a keyword representing the keycode of the DOM event
Get a keyword representing the keycode of the DOM event
(prevent-default e)
Instruct the DOM event that the default behavior should be suppressed.
Instruct the DOM event that the default behavior should be suppressed.
(shift-key? event)
Return a boolean value indicating whether or not the event indicates the shift key was pressed
Return a boolean value indicating whether or not the event indicates the shift key was pressed
(tab? event)
Return a boolean value indicating whether or not the event represents a press of the tab key
Return a boolean value indicating whether or not the event represents a press of the tab key
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close