Namespaces

 
1.0.0-SNAPSHOT Arrow_down_16x16
  • (prepend & values)
Prepends the values to the content of the selected element.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:667 top

(defn prepend
 "Prepends the values to the content of the selected element."
 [& values]
  #(assoc % :content (concat (flatten-nodes-coll values) (:content %))))
Vars in net.cgrand.enlive-html/prepend: assoc concat defn
Used in 0 other vars

Comments top

No comments for prepend. Log in to add a comment.