Liking cljdoc? Tell your friends :D

klipse.klipse-editors


add-editorcljs

(add-editor editor snippet-num)

create-editorcljsmultimethod

Creates editor (both input editors and output editors) ** :code-mirror: The input editor is codemirror. The output editor is codemirror ** :html: The input editor is codemirror. The output editor is html ** :dom: The input editor is plain text. The output editor is plain text

Creates editor (both input editors and output editors)
** :code-mirror: The input editor is codemirror. The output editor is codemirror
** :html: The input editor is codemirror. The output editor is html
** :dom: The input editor is plain text. The output editor is plain text 
raw docstring

create-statecljs

(create-state & {:keys [result-element container editor-args]})

default-editor-optionscljs


editor-optionscljs

(editor-options editor-in-mode
                editor-out-mode
                codemirror-options-in
                codemirror-options-out)

editorscljs


eval-in-codemirror-editorcljs

(eval-in-codemirror-editor eval-fn
                           result-element
                           editor-source
                           snippet-args
                           mode
                           state)

eval-in-dom-editorcljs

(eval-in-dom-editor eval-fn result-element source snippet-args state)

eval-in-editorcljs

(eval-in-editor eval-fn
                src-code
                unsafe-setter
                {:keys [loop-msec preamble]}
                state)

Evaluates the value - with preamble prepended to it. If setter is defined, call setter with the result of the evaluation. Block until the first evaluation. Call setter with subsequent evaluations asynchronously. Subsequent evaluations don't include preamble. (Subsequent evaluations occur with server-eval where printing results are written on the channel, one after the other. In the case of client side evaluation, the channel is closed after the first message on the channel (this is done implicitly by go).

Evaluates the `value` - with `preamble` prepended to it.
If `setter` is defined, call `setter` with the result of the evaluation.
Block until the first evaluation.
Call `setter` with subsequent evaluations asynchronously. Subsequent evaluations don't include `preamble`.
(Subsequent evaluations occur with `server-eval` where printing results are written on the channel, one after the other.
In the case of client side evaluation, the channel is closed after the first message on the channel (this is done implicitly by `go`).
raw docstring

eval-in-html-editorcljs

(eval-in-html-editor eval-fn result-element editor-source snippet-args state)

klipse-container-attrscljs

(klipse-container-attrs n)

klipse-result-attrscljs

(klipse-result-attrs n)

wrap-result-in-htmlcljs

(wrap-result-in-html elem res)

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

× close