Liking cljdoc? Tell your friends :D

nubank.workspaces.ui.events


attach-eventcljs

(attach-event this)
source

create-eventcljs

(create-event {:nubank.workspaces.ui.events/keys [event]})
source

dettach-eventcljs

(dettach-event this)
source

dom-listenercljs

(dom-listener {:nubank.workspaces.ui.events/keys [keystroke click action]
               :as event})
source

dom-listener*cljs

source

DomListenercljs

(DomListener)
source

get-targetcljs

(get-target target)
source

KEYScljs

source

match-key?cljs

(match-key? e key-code)
source

match-keystroke?cljs

(match-keystroke? e {:nubank.workspaces.ui.events/keys [modifiers key-code]})
source

match-modifiers?cljs

(match-modifiers? e modifiers)
source

parse-keystrokecljs

(parse-keystroke keystroke)
source

pdcljs

(pd f)

Wraps function f with a call to .preventDefault on the event. This is a helper to compose with event callback functions so they also cancel the default browser event handler.

Usage:

(dom/a {:href "#" :onClick (pd #(console.log :clicked))} "No default")

Wraps function f with a call to .preventDefault on the event. This is a helper
to compose with event callback functions so they also cancel the default browser
event handler.

Usage:

(dom/a {:href "#" :onClick (pd #(console.log :clicked))} "No default")
sourceraw docstring

trigger-eventcljs

(trigger-event target evt)
source

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

× close