(close)
Close all current inspector windows.
Close all current inspector windows.
(eval-str code)
(eval-str _portal code opts)
Evaluate ClojureScript source given as a string in the UI runtime.
Evaluate ClojureScript source given as a string in the UI runtime.
(inspect value)
(inspect value options)
Open a new portal window to inspect a particular value.
portal.web/open
for options.Open a new portal window to inspect a particular value. - value: a value to inspect. - options: see `portal.web/open` for options.
(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