Liking cljdoc? Tell your friends :D

selmer.tags


aggregate-argsclj

(aggregate-args args)
source

apply-filtersclj

(apply-filters item filters context-map items)
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-default-handlerclj

(if-default-handler [condition1 condition2] if-tags else-tags render)

Handler of if-condition tags. Expects conditions, enclosed tag-content, render boolean. Returns anonymous fn that will expect runtime context-map. (Separate from compile-time)

 Handler of if-condition tags. Expects conditions, enclosed
tag-content, render boolean. Returns anonymous fn that will expect
runtime context-map. (Separate from compile-time) 
sourceraw docstring

if-handlerclj

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

if-numeric-handlerclj

(if-numeric-handler [p1 p2 p3 p4 :as params] if-tags else-tags render)
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

parse-eq-argsclj

(parse-eq-args args)
source

parse-numeric-paramsclj

(parse-numeric-params p1 op p2)
source

read-verbatimclj

(read-verbatim rdr)
source

render-ifclj

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

render-if-any-allclj

(render-if-any-all not? op params if-tags else-tags render)
source

render-if-numericclj

(render-if-numeric render
                   negate?
                   [comparator context-key1 context-key2]
                   context-map
                   if-tags
                   else-tags)
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