Liking cljdoc? Tell your friends :D
ClojureScript only.

re-frame.router


dispatchcljs

(dispatch event-v)

Send an event to be processed by the registered handler.

Usage example: (dispatch [:delete-item 42])

Send an event to be processed by the registered handler.

Usage example:
   (dispatch [:delete-item 42])
sourceraw docstring

dispatch-synccljs

(dispatch-sync event-v)

Send an event to be processed by the registered handler, but avoid the async-inducing use of core.async/chan.

Usage example: (dispatch-sync [:delete-item 42])

Send an event to be processed by the registered handler, but avoid the async-inducing
use of core.async/chan.

Usage example:
   (dispatch-sync [:delete-item 42])
sourceraw docstring

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

× close