Liking cljdoc? Tell your friends :D

selmer.tags


aggregate-argsclj

(aggregate-args args)
source

apply-filtersclj

(apply-filters item filters context-map items)
source

basic-edn->htmlclj

(basic-edn->html ctx-map)
source

block-handlerclj

(block-handler args tag-content render rdr)
source

closing-tagsclj

source

comment-handlerclj

(comment-handler args tag-content render rdr)
source

compare-tagclj

(compare-tag args comparator render success failure)
source

compile-argsclj

(compile-args args)
source

compile-filtersclj

(compile-filters items filter-names)
source

create-value-mappingsclj

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

cycle-handlerclj

(cycle-handler args _ _ _)
source

debug-handlerclj

(debug-handler _ _ _ _)
source

expr-tagsclj

source

first-of-handlerclj

(first-of-handler args _ _ _)
source

for-handlerclj

(for-handler args tag-content render rdr)
source

if-any-all-fnclj

(if-any-all-fn op params)
source

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

if-handlerclj

(if-handler params tag-content render rdr)
source

if-resultclj

(if-result value)
source

ifequal-handlerclj

(ifequal-handler args tag-content render rdr)
source

ifunequal-handlerclj

(ifunequal-handler args tag-content render rdr)
source

match-comparatorclj

(match-comparator op)
source

now-handlerclj

(now-handler args _ _ _)
source

numeric-expression-evaluationclj

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

parse-eq-argclj

(parse-eq-arg arg-string)
source

parse-eq-argsclj

(parse-eq-args args)
source

parse-numeric-paramsclj

(parse-numeric-params p1 op p2)
source

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

pretty-printclj

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

read-verbatimclj

(read-verbatim rdr)
source

render-ifclj

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

render-tagsclj

(render-tags context-map tags)
source

safe-handlerclj

(safe-handler args tag-content render rdr)
source

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

sum-handlerclj

(sum-handler args _ _ _)
source

tag-handlerclj

(tag-handler handler & tags)
source

verbatim-handlerclj

(verbatim-handler args _ render rdr)
source

with-handlerclj

(with-handler args tag-content render rdr)
source

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

× close