Liking cljdoc? Tell your friends :D

rui.modals.core


close-modalcljs

(close-modal db id)

Sets a modal by a given id to closed state. Unlistens a listener for Escape key, when called multiple times the listener is remove only once.

Sets a modal by a given `id` to closed state. Unlistens a listener for Escape key, when called multiple times
the listener is remove only once.
sourceraw docstring

close-modal!cljs

(close-modal! id event)
source

db->modal-statecljs

(db->modal-state db id)
source

init-modal-state!cljs

(init-modal-state! id)
(init-modal-state! id state)
source

initial-statecljs

(initial-state id)
source

open-modalcljs

(open-modal db id on-close)

Sets a modal by a given id to opened state. Sets a listener for Escape key, when called multiple times the listener is not reset.

Sets a modal by a given `id` to opened state. Sets a listener for Escape key, when called multiple times
the listener is not reset.
sourceraw docstring

open-modal!cljs

(open-modal! id event)
source

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

× close