Liking cljdoc? Tell your friends :D

om-widgets.forms


*entity*cljs

source

*errors*cljs

source

*owner*cljs

source

*validation-rules*cljs

source

buttoncljmacro

(button action {:keys [text location on-click on-valid icon style disabled]})
source

button-classcljmacro

(button-class location style)
source

button-clickedcljs

(button-clicked owner entity rules continuation)
source

class-from-optscljmacro

(class-from-opts opts)

Creates

Creates
sourceraw docstring

columncljmacro

(column width & fields)
source

create-fieldcljmultimethod

source

fieldcljmacro

(field key {:keys [label required extra-class] :as options})

Creates a form field with label, input type is created dynamically selected from type and extensible using create-field multimethod.

Creates a form field with label, input type is created dynamically selected
from type and extensible using create-field multimethod.
sourceraw docstring

field-componentcljmacro

(field-component opts & body)

Adds an optional error or warning message to the field, the body received is always wrapped inside a <div>.

Adds an optional error or warning message to the field, the body
received is always wrapped inside a <div>.
sourceraw docstring

formcljmacro

(form entity owner {:keys [title subtitle errors validation]} & body)

Macro to create a form, binds errors and entity to be accesible inside the form by every rendered component.

Macro to create a form, binds errors and entity to be accesible
inside the form by every rendered component.
sourceraw docstring

helper-inputcljmacro

(helper-input helper body)

If a bootstrap helper plugin is specified input field is rendered inside a helper div

If a bootstrap helper plugin is specified input field is rendered inside a helper div
sourceraw docstring

rowcljmacro

(row & cols)
source

sectioncljmacro

(section title & body)

Macro to create a header field section (also known as fieldset)

Macro to create a header field section (also known as fieldset)
sourceraw docstring

set-errorcljs

(set-error owner error-msg)
source

set-successcljs

(set-success owner)
(set-success owner msg)
source

validatecljs

(validate entity rules messages)
source

validate-keycljs

(validate-key owner key entity rules)
source

with-ownercljmacro

(with-owner owner & body)
source

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

× close