(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.
(back! this)
(forward! this)
(navigate! this route)
(replace-state! this new-state)
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close