Liking cljdoc? Tell your friends :D

portal.web


clearcljs

(clear)

Clear all values.

Clear all values.
sourceraw docstring

closecljs

(close)

Close all current inspector windows.

Close all current inspector windows.
sourceraw docstring

eval-strcljs

(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.
sourceraw docstring

inspectcljs

(inspect value)
(inspect value options)

Open a new portal window to inspect a particular value.

  • value: a value to inspect.
  • options: see 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.
sourceraw docstring

opencljs

(open)
(open options)

Open a new inspector window.

Open a new inspector window.
sourceraw docstring

register!cljs

(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.
sourceraw docstring

send!cljs

source

sessionscljs

(sessions)

Get all current portal sessions.

Get all current portal sessions.
sourceraw docstring

set-defaults!cljs

(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.
sourceraw docstring

submitcljs

(submit value)

Tap target function.

Tap target function.
sourceraw docstring

tapcljsdeprecated

(tap)

Add portal as a tap> target.

Add portal as a tap> target.
sourceraw docstring

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

× close