(start! this nav-path! path-exists?)
Start listening to history events, calling (nav-path! path)
when the top of the stack changes and (path-exists? path)
returns truthy.
Start listening to history events, calling `(nav-path! path)` when the top of the stack changes and `(path-exists? path)` returns truthy.
(get-current this)
Return the path currently on the top of the history stack.
Return the path currently on the top of the history stack.
(push! this path)
Push a new path on the history stack, NOT triggering the nav-path!
callback.
Push a new path on the history stack, NOT triggering the `nav-path!` callback.
(stop! this)
Stop listening to history events.
Stop listening to history events.
(html5-history)
Returns an implementation of the History
protocol using the Html5 History API, resp. venantius/accountant
.
Returns an implementation of the [[History]] protocol using the Html5 History API, resp. `venantius/accountant`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close