A page-by-page scrollbar with a pull-out to see page descriptions.
Supports vertical layout:
Supports horizontal layout:
Compnent registered as "scroll-er".
Dictionary of page titles to event strings; each key is a page title, each value an event string.
Number of key-value pairs is the number of pages.
Title of currently selected page.
If true, the scroller will be at the bottom and pages will be side-to-side.
Functions to furl and unfurl the scroller.
lein clean
lein figwheel dev
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.
To compile clojurescript to javascript:
lein clean
lein cljsbuild once min
Our 'project.clj' sets up figwheel :nrepl-port to 7002.
Create remote REPL run configuration to 127.0.0.1:7002.
Once started paste the following in the IntelliJ REPL (Alt-8)
(use 'figwheel-sidecar.repl-api)
(cljs-repl)
The dev build compiles unit tests.
To run them, start the REPL:
lein figwheel dev
In the REPL source the test runner and run the tests:
(in-ns 'kundel-runner')
(require '[kundel.runner :as t] :reload)
(t/run)