🐸 adds crud for libraries and deletion of elements

This commit is contained in:
alonso.torres 2020-03-19 12:54:30 +01:00
parent df75099000
commit a0a031dbc2
11 changed files with 374 additions and 88 deletions

View file

@ -142,8 +142,7 @@
y (.-clientY event)]
(gpt/point x y)))
(defn get-offset-position
[event]
(let [x (.-offsetX event)
y (.-offsetY event)]
(gpt/point x y)))
(defn focus!
[node]
(.focus node))