(close)
Close all current inspector windows.
Close all current inspector windows.
(eval-str code)
(eval-str _portal code opts)
Evalute ClojureScript source given as a string in the UI runtime.
Evalute ClojureScript source given as a string in the UI runtime.
(open)
(open options)
Open a new inspector window.
Open a new inspector window.
(register! var)
Register a var with portal. For now, the var should be a 1 arity fn.
Example: (register! #'identity)
The function name and doc string will show up in the command palette.
Register a var with portal. For now, the var should be a 1 arity fn. Example: `(register! #'identity)` The function name and doc string will show up in the command palette.
(sessions)
Get all current portal sessions.
Get all current portal sessions.
(set-defaults! options)
Set default options for open
.
Parameters passed directly to either will override defaults.
Set default options for `open`. Parameters passed directly to either will override defaults.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close