Liking cljdoc? Tell your friends :D

hiccup-templating.core.walker


expandclj

(expand node data)

Walks node, resolving :data/... lookups and tagged-literal directives against data. Returns either the expanded structure or one of the sentinels declared above. Callers normally hand the result to template-to-hiccup, which strips trailing sentinels.

Walks `node`, resolving `:data/...` lookups and tagged-literal
directives against `data`. Returns either the expanded structure or
one of the sentinels declared above. Callers normally hand the
result to `template-to-hiccup`, which strips trailing sentinels.
sourceraw docstring

template-to-hiccupclj

(template-to-hiccup template
                    data
                    &
                    {:keys [template-key] :or {template-key :template}})

Top-level entry point. Resolves the template-key slot of template against data. Returns nil when the entire template prunes away.

Top-level entry point. Resolves the `template-key` slot of `template`
against `data`. Returns nil when the entire template prunes away.
sourceraw docstring

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