Liking cljdoc? Tell your friends :D

accountant.core

The only namespace in this library.

The only namespace in this library.
raw docstring

configure-navigation!cljs

(configure-navigation! {:keys [nav-handler path-exists? reload-same-path?
                               nav-confirm-handler]})

Create and configure HTML5 history navigation.

nav-handler: a fn of one argument, a path. Called when we've decided to navigate to another page. You'll want to make your app draw the new page here.

path-exists?: a fn of one argument, a path. Return truthy if this path is handled by the SPA

Create and configure HTML5 history navigation.

nav-handler: a fn of one argument, a path. Called when we've decided
to navigate to another page. You'll want to make your app draw the
new page here.

path-exists?: a fn of one argument, a path. Return truthy if this path is handled by the SPA
sourceraw docstring

dispatch-current!cljs

(dispatch-current!)
source

document-click-handler-listener-keycljs

source

historycljs

source

map->paramscljs

(map->params query)
source

source

(navigate! route)
(navigate! route query)

add a browser history entry. updates window/location

add a browser history entry. updates window/location
sourceraw docstring

source

path-exists?cljs

source

unconfigure-navigation!cljs

(unconfigure-navigation!)

Teardown HTML5 history navigation.

Undoes all of the stateful changes, including unlistening to events, that are setup as part of the call to configure-navigation!.

Teardown HTML5 history navigation.

Undoes all of the stateful changes, including unlistening to events, that are setup as part of
the call to `configure-navigation!`.
sourceraw docstring

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

× close