(make-tour tour-spec)
Returns a map containing
Returns a map containing - A reagent atom for each tour step controlling popover show/hide (boolean) - A standard atom holding the current step (integer) - A copy of the steps parameter passed in, to determine the order for prev/next functions It sets the first step atom to true so that it will be initially shown Sample return value: {:steps [:step1 :step2 :step3] :current-step (atom 0) :step1 (reagent/atom true) :step2 (reagent/atom false) :step3 (reagent/atom false)}
(make-tour-nav tour)
Generate the hr and previous/next buttons markup. If first button in tour, don't generate a Previous button. If last button in tour, change Next button to a Finish button
Generate the hr and previous/next buttons markup. If first button in tour, don't generate a Previous button. If last button in tour, change Next button to a Finish button
(start-tour tour)
Sets the first popover atom in the tour to true
Sets the first popover atom in the tour to true
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close