Drag and drop events in embedded SVG?
问题 Is there any possibility of receiving drag and drop events from SVG elements within a web page? I tried the Google Closure library, to no avail. Specifically, suppose my page contains <ul id = "list"> <li class="item" id="item1">foo</li> <li class="item">bar</li> <li class="item">baz</li> </ul> And my script contains (Clojurescript/C2) (let [items (select-all ".item") lst (select "#list") target (fx/DragDrop. lst nil)] (dorun (map (fn [item] (let [source (fx/DragDrop. item nil)] (. source