Liking cljdoc? Tell your friends :D
ClojureScript only.

tuck.path

Helpers for providing event -> path functions.

Helpers for providing event -> path functions.
raw docstring

by-typecljs

(by-type & types-and-paths)

Returns a function that dispatches to different path by the type of the event. The types and events are alternating in the arguments. The type may be a single type or a collection of types to easily add the same path for multiple event types.

Returns a function that dispatches to different path by the type of
the event. The types and events are alternating in the arguments.
The type may be a single type or a collection of types to easily add
the same path for multiple event types.
sourceraw docstring

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

× close