Liking cljdoc? Tell your friends :D

hyperfiddle.history3


absoluteclj

(absolute path)
source

atom-historyclj

(atom-history)
(atom-history initial-state)
(atom-history initial-state max-size)

Return a new IHistory instance backed by an atom. Initial history state can be provided with initial-state. Default history size is unbounded and can be constrained to max-size elements in a FIFO way. A negative value or 0 has no effect.

Return a new IHistory instance backed by an atom.
Initial history state can be provided with `initial-state`.
Default history size is unbounded and can be constrained to `max-size` elements in a FIFO way.
A negative value or 0 has no effect.
sourceraw docstring

historyclj

source

history?clj

(history? h)
source

IHistorycljprotocol

back!clj

(back! this)

forward!clj

(forward! this)

navigate!clj

(navigate! this route)

replace-state!clj

(replace-state! this new-state)
source

notify-watchesclj

(notify-watches this [oldstate newstate])
source

proxy-historyclj

(proxy-history parent)
(proxy-history parent initial-state)

Return a new IHistory instance backed by an atom. History state is stored in an atom. Navigation is forwarded to the parent history. Initial state is provided with initial-state.

Return a new IHistory instance backed by an atom.
History state is stored in an atom.
Navigation is forwarded to the `parent` history.
Initial state is provided with `initial-state`. 
sourceraw docstring

updatefclj

(updatef [history idx] f)
source

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

× close