(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
(get-value db [_ ctx-id component-id])gets the value of the specified component
gets the value of the specified component
(init-context db [_ ctx-id schema initial-state])create a new Domino UI context
create a new Domino UI context
(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
(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
(trigger-effects db [_ ctx-id effect-ids])trigger the specified effects
trigger the specified effects
(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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |