Liking cljdoc? Tell your friends :D

dgknght.app-lib.dom


bodycljs

(body)
source

bounding-client-rectcljs

(bounding-client-rect elem)
(bounding-client-rect elem {:keys [as-clojure?]})
source

checked?cljs

(checked? event)
source

ctrl-key?cljs

(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
sourceraw docstring

debouncecljs

(debounce f)
(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).
sourceraw docstring

enter?cljs

(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
sourceraw docstring

get-stylecljs

(get-style id-or-elem k)
source

key-codecljs

(key-code event)

Get a keyword representing the keycode of the DOM event

Get a keyword representing the keycode of the DOM event
sourceraw docstring

prevent-defaultcljs

(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.
sourceraw docstring

set-attributecljs

(set-attribute elem a-name a-value)
source

set-focuscljs

(set-focus id)
source

set-stylecljs

(set-style id-or-elem k v)
source

shift-key?cljs

(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
sourceraw docstring

tab?cljs

(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
sourceraw docstring

targetcljs

(target event)
source

valuecljs

(value elem)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close