function | since v0.0-927 | Edit |
(set-text e s)
Set the text content for the passed element returning the element. If a keyword is passed in the place of e, the element with that id will be used and returned.
(defn set-text
[e s]
(gdom/setTextContent (ensure-element e) s))