(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
(hiccup? x)
Returns true
when x
is a hiccup form
Returns `true` when `x` is a hiccup form
(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`.
(select selector hiccup)
Select nodes in hiccup
matching the CSS selector
Select nodes in `hiccup` matching the CSS `selector`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close