Liking cljdoc? Tell your friends :D

hatti.shared


add-to-app-data!cljs

(add-to-app-data! app-state data & {:keys [completed?]})

Add to app data.

Add to app data.
sourceraw docstring

app-statecljs

source

default-fieldscljs

source

empty-app-statecljs

(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.
sourceraw docstring

event-chancljs

source

event-multi-chancljs

source

event-tapcljs

source

external-event-chancljs

source

external-event-multi-chancljs

source

external-event-tapcljs

source

language-cursorcljs

(language-cursor & [state])
source

language-selectorcljs

(language-selector _ owner {custom-app-state :app-state})

A language selector and a following divider.

A language selector and a following divider.
sourceraw docstring

maybe-merge-languages!cljs

(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
sourceraw docstring

transact-app-data!cljs

(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.
sourceraw docstring

update-app-data!cljs

(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.
sourceraw docstring

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

× close