RXJS Drag n drop
问题 This questions relates to RXJS. I'm trying to adapt the drag and drop example in github to work for a class of divs not just a single element ID. https://github.com/Reactive-Extensions/RxJS/blob/master/examples/dragndrop/dragndrop.html simple changes to give the div a class nor an ID dont work and i lose ability to drag the element 3 simple changes: HTML line 7 i.e. <div class="dragTarget">Drag Me!</div> CSS line 1 i.e. .dragTarget { style attributes unchanged } JS line 4 i.e var dragTarget =