The only namespace in this library.
The only namespace in this library.
(configure-navigation! {:keys [nav-handler path-exists? reload-same-path?]})
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
(navigate! route)
(navigate! route query)
add a browser history entry. updates window/location
add a browser history entry. updates window/location
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close