Liking cljdoc? Tell your friends :D

daiquiri.compiler


compile-attrcljmultimethod

source

compile-attrsclj

(compile-attrs attrs)

Compile a HTML attribute map.

Compile a HTML attribute map.
sourceraw docstring

compile-htmlclj

(compile-html content)
(compile-html content env)

Pre-compile data structures into HTML where possible.

Pre-compile data structures into HTML where possible.
sourceraw docstring

compile-merge-attrsclj

(compile-merge-attrs attrs-1 attrs-2)
source

compile-reactclj

(compile-react v env)
source

compile-react-elementclj

(compile-react-element element env)

Render an element vector as a HTML element.

Render an element vector as a HTML element.
sourceraw docstring

infer-tagclj

(infer-tag env form)

Infer the tag of form using env.

Infer the tag of `form` using `env`.
sourceraw docstring

interpret-maybecljmacro

(interpret-maybe expr)

Macro that wraps expr with a call to daiquiri.interpreter/interpret if the inferred return type is not a primitive React type.

Macro that wraps `expr` with a call to
`daiquiri.interpreter/interpret` if the inferred return type is not a
primitive React type.
sourceraw docstring

maybe-warn-on-interpretclj

(maybe-warn-on-interpret env expr)
(maybe-warn-on-interpret env expr tag)
source

to-jsclj

(to-js x)
source

warn-on-interpretationclj

source

wrap-event-handlersclj

(wrap-event-handlers attrs)

Wrapping on-change handler to work around async rendering queue that causes jumping caret and lost characters in input fields

Wrapping on-change handler to work around async rendering queue
that causes jumping caret and lost characters in input fields
sourceraw docstring

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

× close