Liking cljdoc? Tell your friends :D

accent.inputs


default-elementcljs

source

dragcljs

(drag el)

Dragging occurs in between mousedown and mouseup events.

Dragging occurs in between `mousedown` and `mouseup` events.
sourceraw docstring

generic-event->mapcljs

(generic-event->map evt)
source

keyboardcljs

(keyboard types)
(keyboard types el)

Create new (async.core) channel for keyboard events (keypress, keydown, keyup). Value are maps with keys - :code :char :type :alt :ctrl :meta :shift.

Create new (async.core) channel for keyboard events (keypress, keydown, keyup).
Value are maps with keys - :code :char :type :alt :ctrl :meta :shift.
sourceraw docstring

keyboard-event->mapcljs

(keyboard-event->map evt)
source

keyboard-event-typescljs

source

listencljs

(listen el types mapping)
source

mousecljs

(mouse types)
(mouse types el)

Create new (async.core) channel for mouse events (click, dblclick, mousedown, mouseup, mousemove). Values are maps with keys :x :y :button :type :alt :ctrl :meta :shift.

Create new (async.core) channel for mouse events (click, dblclick, mousedown,
mouseup, mousemove). Values are maps with keys
:x :y :button :type :alt :ctrl :meta :shift.
sourceraw docstring

mouse-event->mapcljs

(mouse-event->map evt)
source

mouse-event-typescljs

source

wheelcljs

(wheel)
(wheel el)

Mouse wheel events. Returns a channel with values -1 or 1 depending on the wheel movement direction.

Mouse wheel events. Returns a channel with values -1 or 1 depending on
the wheel movement direction.
sourceraw docstring

wheel-event->mapcljs

(wheel-event->map evt)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close