(-drain expr)
(-println expr)
(-readline)
(cljs-eval expr)
eval a string in the cljs repl. You can start the repl with enable-cljs-eval!
eval a string in the cljs repl. You can start the repl with enable-cljs-eval!
(cljs-eval! form)
evals form in cljs repl (cljs-eval! (+ 1 1))
evals form in cljs repl (cljs-eval! (+ 1 1))
(default-parse x)
(enable-cljs-eval!)
starts the cljs repl with a headless browser
starts the cljs repl with a headless browser
(get-page)
Returns the playwright page object, that is connected to the context in which the JS code is evaluated
Returns the playwright page object, that is connected to the context in which the JS code is evaluated
(replace-symbols form sym-map)
(with-cljs bindings & forms)
eval form in cljs repl. bindings bind symbols to vals from clj. Destructuring works. Limitations: symbols must be bound to plain data, that can be read by a cljs repl
eval form in cljs repl. bindings bind symbols to vals from clj. Destructuring works. Limitations: symbols must be bound to plain data, that can be read by a cljs repl
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close