Liking cljdoc? Tell your friends :D

klipse.klipse-editors


add-editor!cljs

(add-editor! editor snippet-num)
source

add-result-element!cljs

(add-result-element! result-element snippet-num)
source

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

create-statecljs

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

default-editor-optionscljs

source

editor-optionscljs

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

editorscljs

source

eval-in-codemirror-editorcljs

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

eval-in-dom-editorcljs

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

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`).
sourceraw docstring

eval-in-html-editorcljs

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

klipse-container-attrscljs

(klipse-container-attrs n)
source

klipse-result-attrscljs

(klipse-result-attrs n)
source

result-elementscljs

source

wrap-result-in-htmlcljs

(wrap-result-in-html elem res)
source

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

× close