Liking cljdoc? Tell your friends :D

lookup.core


attrsclj/s

(attrs hiccup)

Returns the hiccup node's attributes

Returns the hiccup node's attributes
sourceraw docstring

childrenclj/s

(children node)
source

get-textclj/s

(get-text hiccup)

Return only text from the hiccup structure; remove all tags and attributes

Return only text from the hiccup structure; remove
all tags and attributes
sourceraw docstring

hiccup?clj/s

(hiccup? x)

Returns true when x is a hiccup form

Returns `true` when `x` is a hiccup form
sourceraw docstring

normalize-hiccupclj/s

(normalize-hiccup hiccup & [{:keys [strip-empty-attrs?] :as opt}])

Normalizes hiccup by removing nil children, flattening children, parsing out id and classes from the selector. Optionally elides empty attribute maps when :strip-empty-attrs? is true.

Normalizes hiccup by removing nil children, flattening children, parsing out id
and classes from the selector. Optionally elides empty attribute maps when
`:strip-empty-attrs?` is `true`.
sourceraw docstring

parse-tagclj/s

(parse-tag selector)
source

selectclj/s

(select selector hiccup)

Select nodes in hiccup matching the CSS selector

Select nodes in `hiccup` matching the CSS `selector`
sourceraw docstring

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

× close