Liking cljdoc? Tell your friends :D

avenue.core


*configcljs

source

*current-routecljs

source

*routescljs

source

add-routecljs

(add-route key & {:as args})

Adds a route to the routes dictionary. Takes a unique key, and any arguments the component for that route requires.

Adds a route to the routes dictionary.
Takes a unique `key`, and any arguments the component
for that route requires.
sourceraw docstring

all-routescljs

(all-routes)
source

current-routecljs

(current-route)
source

go!cljs

(go! url)

Routes to the given url. Pushes to the history state, and uses URLs as a fall back.

Routes to the given `url`. Pushes to the `history state`, and
uses URLs as a fall back.
sourceraw docstring

matches-current-route?cljs

(matches-current-route? url)

Tests whether the given url matches a the current route.

Tests whether the given `url` matches a the current `route`.
sourceraw docstring

pathcljs

(path)
(path loc)
source

refreshcljs

(refresh)

Refreshes all routes.

Refreshes all `routes`.
sourceraw docstring

reload!cljs

(reload! url)

Reloads at the given url. Replaces the history state, and uses URLs as a fall back.

Reloads at the given `url`. Replaces the `history state`, and
uses URLs as a fall back.
sourceraw docstring

set-mount-point!cljs

(set-mount-point! id)

Sets the page mount point for routes.

Sets the page `mount point` for routes.
sourceraw docstring

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

× close