Liking cljdoc? Tell your friends :D

domino.ui.core


component-statecljs

(component-state db [_ ctx-id component-id])

returns the state of the component specified by the context and the component id

returns the state of the component specified by the context and the component id
sourceraw docstring

get-valuecljs

(get-value db [_ ctx-id component-id])

gets the value of the specified component

gets the value of the specified component
sourceraw docstring

init-contextcljs

(init-context db [_ ctx-id schema initial-state])

create a new Domino UI context

create a new Domino UI context
sourceraw docstring

merge-component-statecljs

(merge-component-state db [_ ctx-id component-id state])

merges the current state of a component with the new state

merges the current state of a component with the new state
sourceraw docstring

transactcljs

(transact db [_ ctx-id component-id value])

runs a Domino transaction using the value from the specified component as the input

runs a Domino transaction using the value from the specified component as the input
sourceraw docstring

trigger-effectscljs

(trigger-effects db [_ ctx-id effect-ids])

trigger the specified effects

trigger the specified effects
sourceraw docstring

update-component-statecljs

(update-component-state db [_ ctx-id component-id update-fn])

update the state of a component using a user provided function that accepts the current state

update the state of a component using a user provided function that accepts the current state
sourceraw docstring

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

× close