Style the dragged component or wrapper


I successfully implemented drag-drop feature in my application. However, I am unable to achieve one thing. How can I style wrapper/dragged component when the drag begins. Basically, I want to apply a css or change a few css attributes when the drag operation begins.

Is there any way to accomplish this?

Thanks in advance

To style the original component while it is being dragged, use the CSS
selector. To style the drag proxy (that is, the transparent copy of the component that moves along with your mouse), use the CSS