0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Add get-inner-text dom interop helper.

This commit is contained in:
Andrey Antukh 2016-10-26 23:39:30 +02:00
parent f60d0bc81a
commit 3002d296c8
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -109,6 +109,10 @@
[el]
(.-outerHTML el))
(defn get-inner-text
[el]
(.-innerText el))
(defn query
[el query]
(.querySelector el query))