Liking cljdoc? Tell your friends :D

portal.api


clearclj/s

(clear)

Clear all values.

Clear all values.
sourceraw docstring

closeclj/s

(close)

Close all current inspector windows.

Close all current inspector windows.
sourceraw docstring

openclj/s

(open)
(open portal-or-options)

Open a new inspector window. A previous instance can be passed as parameter to make sure it is open.

Open a new inspector window. A previous instance can be passed as
parameter to make sure it is open.
sourceraw docstring

register!clj/s

(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

startclj/s

(start options)

Start the HTTP server with non-default options. Only use if you need control over the HTTP server.

Start the HTTP server with non-default options. Only use if you need
control over the HTTP server.
sourceraw docstring

submitclj/s

(submit value)

Tap target function.

Usage: (add-tap #'portal.api/submit) (remove-tap #'portal.api/submit)

Tap target function.

Usage:
  (add-tap #'portal.api/submit)
  (remove-tap #'portal.api/submit)
sourceraw docstring

tapclj/sdeprecated

(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