Liking cljdoc? Tell your friends :D

workflo.macros.screen.bidi


goto!cljs

(goto! router screen params)
source

matchcljs

(match url)

Matches a URL against all screen routes. Returns a {:params <route params> :screen <screen>} map, where :screen holds the screen for the URL and the route params map all parameterizable URL segments (e.g. :user-id) to their values in the URL.

Matches a URL against all screen routes. Returns a
{:params <route params> :screen <screen>} map, where :screen
holds the screen for the URL and the route params map all
parameterizable URL segments (e.g. :user-id) to their values
in the URL.
sourceraw docstring

match-locationcljs

(match-location location)
source

pathcljs

(path screen-or-name & params)

Returns a URL path for the given screen and the given URL parameters. Accepts both screen names and screens. For example,

(path 'user :user-id 1) (path (workflo.macros.screen/resolve-screen 'user) :user-id 1)

are both acceptable uses of this function.

Returns a URL path for the given screen and the given URL
parameters. Accepts both screen names and screens. For example,

(path 'user :user-id 1)
(path (workflo.macros.screen/resolve-screen 'user) :user-id 1)

are both acceptable uses of this function.
sourceraw docstring

routecljs

(route [screen-name screen])

Returns a bidi route for the given screen.

Returns a bidi route for the given screen.
sourceraw docstring

routercljs

(router {:keys [default-screen default-params mount-screen]
         :or {default-screen (quote home) default-params {}}
         :as env})
source

routescljs

(routes)

Returns combined bidi routes for all registered screens.

Returns combined bidi routes for all registered screens.
sourceraw docstring

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

× close