mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 01:28:30 -05:00
Add helper for find dom objects by class name.
This commit is contained in:
parent
6325f8cc86
commit
80ec20d9cd
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
(ns uxbox.ui.dom)
|
||||
(ns uxbox.ui.dom
|
||||
(:require [goog.dom :as dom]))
|
||||
|
||||
(defn get-element-by-class
|
||||
[^string classname]
|
||||
(dom/getElementByClass classname))
|
||||
|
||||
(defn stop-propagation
|
||||
[e]
|
||||
|
|
Loading…
Add table
Reference in a new issue