(get-token this)
(start! this)
(stop! this)
(replace-token! this token)
(replace-token! this token title)
(set-token! this token)
(set-token! this token title)
(push-state! dispatch-fn match-fn)
(push-state! dispatch-fn match-fn identity-fn)
(pushy dispatch-fn
match-fn
&
{:keys [processable-url? identity-fn prevent-default-when-no-match?]
:or {processable-url? processable-url?
identity-fn identity
prevent-default-when-no-match? (constantly false)}})
Takes in three functions:
Takes in three functions: * dispatch-fn: the function that dispatches when a match is found * match-fn: the function used to check if a particular route exists * identity-fn: (optional) extract the route from value returned by match-fn
(supported?)
(supported? window)
Returns whether Html5History is supported
Returns whether Html5History is supported
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close