Liking cljdoc? Tell your friends :D

de.levering-it.cljs-eval


-drainclj

(-drain expr)

-printlnclj

(-println expr)

-readlineclj

(-readline)

cljs-evalclj

(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!
raw docstring

cljs-eval!cljmacro

(cljs-eval! form)

evals form in cljs repl (cljs-eval! (+ 1 1))

evals form in cljs repl (cljs-eval! (+ 1 1))
raw docstring

disable-cljs-eval!clj

(disable-cljs-eval!)

kill the cljs repl

kill the cljs repl
raw docstring

drainclj

(drain)

consumes all output

consumes all output
raw docstring

enable-cljs-eval!clj

(enable-cljs-eval!)

starts the cljs repl with a headless browser

starts the cljs repl with a headless browser
raw docstring

get-pageclj

(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
raw docstring

read-fnclj


readerclj


replace-symbolsclj

(replace-symbols form sym-map)

sessionclj


with-cljscljmacro

(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
raw docstring

writerclj

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

× close