(add-to-app-data! app-state data & {:keys [completed?]})
Add to app data.
Add to app data.
(empty-app-state)
An initial, empty, app-state, which can be modified to change dataviews.
An initial, empty, app-state, which can be modified to change dataviews.
(language-selector _ owner {custom-app-state :app-state})
A language selector and a following divider.
A language selector and a following divider.
(maybe-merge-languages! form & [state])
Merge languages into the app-state if form is multilingual
Merge languages into the app-state if form is multilingual
(transact-app-data! app-state transact-fn)
Given a function over data, run a transact on data inside app-state.
Given a function over data, run a transact on data inside app-state.
(update-app-data! app-state
data
&
{:keys [rerank? completed? sort-field current-start-index]
:or {current-start-index 0}})
Given data
received from the server, update the app-state.
Sorts by submission time, and adds rank to the data, for table + map views.
Given `data` received from the server, update the app-state. Sorts by submission time, and adds rank to the data, for table + map views.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close