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:
parent
f60d0bc81a
commit
3002d296c8
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@
|
|||
[el]
|
||||
(.-outerHTML el))
|
||||
|
||||
(defn get-inner-text
|
||||
[el]
|
||||
(.-innerText el))
|
||||
|
||||
(defn query
|
||||
[el query]
|
||||
(.querySelector el query))
|
||||
|
|
Loading…
Add table
Reference in a new issue