reforms.core.options

Configuration options. You can override the defaults using set-options! or with-options.

*options*

dynamic

Note that top-level key corresponds to a helper in reforms.core.

Common for all form helpers:

Example:

;; Set background of every form to red color.
(set-options! {:form {:attrs {:style {:background-color "red"}}}})

… Each helper is supported - :password, :select, :color etc. see reforms.core for available form helpers…

For the defaults, see the source.

get-options

(get-options ks)

merge-options

(merge-options options)(merge-options prev-options new-options)

set-options!

(set-options! options)