Liking cljdoc? Tell your friends :D

retroact.core


app-refsclj


app-watchclj

(app-watch watch-key app-ref old-value new-value)

apply-attributesclj

(apply-attributes {:keys [onscreen-component app-ref old-view new-view]})

build-uiclj

(build-ui app-ref view)

Take a view and realize it.

Take a view and realize it.
raw docstring

children-applier?clj

(children-applier? attr-applier)

component-applier?clj

(component-applier? attr-applier)

component-did-mount?clj

(component-did-mount? old-value new-value)

create-compclj

(create-comp app-ref comp)
(create-comp app-ref comp props)

Create a new top level component. There should not be many of these. This is akin to a main window. In the most extreme cases there may be a couple hundred of these. In a typical case there will be between one component and a half a dozen components. The code is optimized for a small number of top level components.

Create a new top level component. There should not be many of these. This is akin to a main window. In the most
extreme cases there may be a couple hundred of these. In a typical case there will be between one component and a
half a dozen components. The code is optimized for a small number of top level components.
raw docstring

init-appclj

(init-app)
(init-app comp)
(init-app comp props)

Initialize app data as an atom and return the atom. The atom is wired in to necessary watches, core.async channels, and any other fns and structures to make it functional and not just a regular atom. The result is an atom that is reactive to changes according to FRP (Functional Reactive Programming). Components may subsequently be added to the app. For convenience there is a single arg version of this fn that will create a component. Although nothing prevents multiple calls to init-app and the code will work properly when multiple calls are made, init-app is intended to be called once. The resources (including threads) allocated are done so as if this is for the entire application.

Initialize app data as an atom and return the atom. The atom is wired in to necessary watches, core.async channels,
and any other fns and structures to make it functional and not just a regular atom. The result is an atom that is
reactive to changes according to FRP (Functional Reactive Programming). Components may subsequently be added to the
app. For convenience there is a single arg version of this fn that will create a component. Although nothing prevents
multiple calls to init-app and the code will work properly when multiple calls are made, init-app is intended to be
called once. The resources (including threads) allocated are done so as if this is for the entire application.
raw docstring

instantiate-classclj

(instantiate-class ui)

padclj

(pad col length)

retroact-cmd-chanclj


update-view-countclj

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

× close