Liking cljdoc? Tell your friends :D

selmer.tags


aggregate-argsclj

(aggregate-args args)

apply-filtersclj

(apply-filters item filters context-map items)

basic-edn->htmlclj

(basic-edn->html ctx-map)

block-handlerclj

(block-handler args tag-content render rdr)

closing-tagsclj


comment-handlerclj

(comment-handler args tag-content render rdr)

compare-tagclj

(compare-tag args comparator render success failure)

compile-argsclj

(compile-args args)

compile-filtersclj

(compile-filters items filter-names)

create-value-mappingsclj

(create-value-mappings context-map ids value)

cycle-handlerclj

(cycle-handler args _ _ _)

debug-handlerclj

(debug-handler _ _ _ _)

expr-tagsclj


first-of-handlerclj

(first-of-handler args _ _ _)

for-handlerclj

(for-handler args tag-content render rdr)

if-any-all-fnclj

(if-any-all-fn op params)

if-condition-fnclj

(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.
raw docstring

if-handlerclj

(if-handler params tag-content render rdr)

if-resultclj

(if-result value)

ifequal-handlerclj

(ifequal-handler args tag-content render rdr)

ifunequal-handlerclj

(ifunequal-handler args tag-content render rdr)

match-comparatorclj

(match-comparator op)

now-handlerclj

(now-handler args _ _ _)

numeric-expression-evaluationclj

(numeric-expression-evaluation [comparator context-key1 context-key2])

parse-eq-argclj

(parse-eq-arg arg-string)

parse-eq-argsclj

(parse-eq-args args)

parse-numeric-paramsclj

(parse-numeric-params p1 op p2)

prettify-ednclj

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).
raw docstring

pretty-printclj

(pretty-print m)
(pretty-print sb indent v)

read-verbatimclj

(read-verbatim rdr)

render-ifclj

(render-if render context-map condition first-block second-block)

render-tagsclj

(render-tags context-map tags)

safe-handlerclj

(safe-handler args tag-content render rdr)

script-handlerclj

(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.
raw docstring

style-handlerclj

(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).
raw docstring

sum-handlerclj

(sum-handler args _ _ _)

tag-handlerclj

(tag-handler handler & tags)

verbatim-handlerclj

(verbatim-handler args _ render rdr)

with-handlerclj

(with-handler args tag-content render rdr)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close