Liking cljdoc? Tell your friends :D

keechma.toolbox.forms.controller


actions

(actions forms-config)
source

add-form-to-app-db

(add-form-to-app-db app-db form-props form-state)
source

get-form-record

(get-form-record forms-config [form-type _])
source

get-form-state

(get-form-state app-db form-props)
source

get-forms

(get-forms app-db)
source

get-initial-state

(get-initial-state app-db forms-config value)
source

handle-call

(handle-call app-db forms-config [form-props args])
source

handle-on-blur

(handle-on-blur app-db forms-config [form-props path])
source

handle-on-change

(handle-on-change app-db
                  forms-config
                  [form-props path element value caret-pos])
source

handle-on-mount

(handle-on-mount app-db forms-config form-props)
source

handle-on-submit

(handle-on-submit app-db forms-config data)
source

handle-on-submit-error

(handle-on-submit-error app-db
                        forms-config
                        error
                        {:keys [form-props result]})
source

handle-on-submit-success

(handle-on-submit-success app-db
                          forms-config
                          {:keys [form-props result]})
source

handle-on-unmount

(handle-on-unmount app-db forms-config form-props)
source

handle-on-update-error

(handle-on-update-error app-db forms-config error value)
source

handle-on-update-success

(handle-on-update-success app-db forms-config value)
source

handle-on-validate

(handle-on-validate app-db forms-config [form-props dirty-only?])
source

make-controller

(make-controller forms-config)
source

mark-dirty-and-validate

(mark-dirty-and-validate form-record form-state)
(mark-dirty-and-validate form-record form-state dirty-only?)
source

mount-form

(mount-form app-db forms-config {:keys [form-props initial-data]})
source

premount-form

(premount-form app-db {:keys [form-props]})
source

promise-or-pipeline

(promise-or-pipeline res)
(promise-or-pipeline res processor)
source

register

(register forms-config)
(register controllers forms-config)
source

should-immediately-validate?

(should-immediately-validate? attr-valid? element)
source

submit-form

(submit-form app-db forms-config data)
source

unmount-form

(unmount-form app-db {:keys [form-props]})
source

update-form

(update-form app-db forms-config data)
source

update-form-data

(update-form-data app-db forms-config {:keys [form-props data]})
source

update-form-state

(update-form-state app-db
                   forms-config
                   type
                   cause
                   {:keys [form-props]})
source

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

× close