(aggregate-args args)
(apply-filters item filters context-map items)
(basic-edn->html ctx-map)
(block-handler args tag-content render rdr)
(comment-handler args tag-content render rdr)
(compare-tag args comparator render success failure)
(compile-args args)
(compile-filters items filter-names)
(create-value-mappings context-map ids value)
(cycle-handler args _ _ _)
(debug-handler _ _ _ _)
(first-of-handler args _ _ _)
(for-handler args tag-content render rdr)
(if-any-all-fn op params)
(if-condition-fn params)
Compiles an if form into a function that takes a context-map, and returns true or false.
Compiles an if form into a function that takes a context-map, and returns true or false.
(if-handler params tag-content render rdr)
(if-result value)
(ifequal-handler args tag-content render rdr)
(ifunequal-handler args tag-content render rdr)
(match-comparator op)
(now-handler args _ _ _)
(numeric-expression-evaluation [comparator context-key1 context-key2])
(parse-eq-arg arg-string)
(parse-eq-args args)
(parse-numeric-params p1 op p2)
Resolves to json-html.core/edn->html if available, falls back to more basic rendering otherwise. NOTE: It's important for GraalVM native-image that we resolve vars at compile time (top-level) rather than at run-time (in a function body).
Resolves to json-html.core/edn->html if available, falls back to more basic rendering otherwise. NOTE: It's important for GraalVM native-image that we resolve vars at compile time (top-level) rather than at run-time (in a function body).
(pretty-print m)
(pretty-print sb indent v)
(read-verbatim rdr)
(render-if render context-map condition first-block second-block)
(render-tags context-map tags)
(safe-handler args tag-content render rdr)
(script-handler [uri & args] _ _ _)
Returns function that renders HTML <SCRIPT/>
tag. Accepts uri
that would
be used to build value for 'src' attribute of generated tag and variable
number of optional arguments. Value for 'src' attribute is built accounting
value of selmer/context
context parameter and uri
can be a string literal
or name of context parameter (filters also supported). Optional arguments are:
async
- when evaluates to logical true then 'async' attribute would be
added to generated tag.Returns function that renders HTML `<SCRIPT/>` tag. Accepts `uri` that would be used to build value for 'src' attribute of generated tag and variable number of optional arguments. Value for 'src' attribute is built accounting value of `selmer/context` context parameter and `uri` can be a string literal or name of context parameter (filters also supported). Optional arguments are: * `async` - when evaluates to logical true then 'async' attribute would be added to generated tag.
(style-handler [uri] _ _ _)
Returns function that renders HTML <LINK/>
tag. Accepts uri
that would
be used to build value for 'href' attribute of generated tag. Value for 'href'
attribute is built accounting value of selmer/context
context parameter and
uri
can be a string literal or name of context parameter (filters also
supported).
Returns function that renders HTML `<LINK/>` tag. Accepts `uri` that would be used to build value for 'href' attribute of generated tag. Value for 'href' attribute is built accounting value of `selmer/context` context parameter and `uri` can be a string literal or name of context parameter (filters also supported).
(sum-handler args _ _ _)
(tag-handler handler & tags)
(verbatim-handler args _ render rdr)
(with-handler args tag-content render rdr)
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |