(get-token this)
(on-click! this e)
(replace-token! this token)
(replace-token! this token title)
(set-token! this token)
(set-token! this token title)
(start! this)
(stop! this)
(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?
skip-on-click]
:or {processable-url? processable-url?
identity-fn identity
prevent-default-when-no-match? (constantly false)
skip-on-click 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 * skip-on-click: if pushy should skip registering on-click handler
(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