mirror of
https://github.com/penpot/penpot.git
synced 2026-03-11 12:56:14 +00:00
Add get-inner-text dom interop helper.
This commit is contained in:
@@ -109,6 +109,10 @@
|
||||
[el]
|
||||
(.-outerHTML el))
|
||||
|
||||
(defn get-inner-text
|
||||
[el]
|
||||
(.-innerText el))
|
||||
|
||||
(defn query
|
||||
[el query]
|
||||
(.querySelector el query))
|
||||
|
||||
Reference in New Issue
Block a user