1.0.0-SNAPSHOT Arrow_down_16x16
  • (set-attr & kvs)
Assocs attributes on 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:625 top

(defn set-attr
 "Assocs attributes on the selected element."
 [& kvs]
  #(assoc % :attrs (apply assoc (:attrs % {}) kvs)))
Vars in net.cgrand.enlive-html/set-attr: apply assoc defn
Used in 0 other vars

Comments top

No comments for set-attr. Log in to add a comment.