0
Fork 0
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:
Andrey Antukh 2016-01-03 18:44:13 +02:00
parent 6325f8cc86
commit 80ec20d9cd

View file

@ -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]