ObaidUrRehman / ng-drag-drop

Drag & Drop for Angular - based on HTML5 with no external dependencies. :tada:
MIT License
239 stars 123 forks source link

Different CSS to the draggable element while in transit #87

Closed calebeaires closed 7 years ago

calebeaires commented 7 years ago

[x] feature request

On some apps we use dragging to transform an element into another. dragClass apply CSS to the element that is being dragglabe and the element in transit. It would be great if whe could apply CSS to both separately. On this way, the css in the element dragabled is different from the element in transit.

ObaidUrRehman commented 7 years ago

@calebeaires the implementation is Kludgy at best. There may be side effects to this so I'll need feedback from you on this. There is a new input to the draggable directive called dragTransitClass.

ObaidUrRehman commented 7 years ago

Added in v2.7.0

calebeaires commented 7 years ago

@ObaidUrRehman thanks for everthing! now the only thing I am waiting for is the sort feature!