feature request: add CSS class when dragging is in progress
See original GitHub issueCurrently, the CSS class ng-draggable is added to any draggable elements.
It would be great if the class ng-dragging could also be added during a drag operation. This would allow styling for the cursor during a drag operation:
.ng-draggable {
cursor: grab;
}
.ng-dragging {
cursor: grabbing;
}
Great lib thx 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Feature Request - Add CSS classes for styling #189
Feature Request - Add CSS classes for styling #189 ... This project is in progress right now but we plan to release it...
Read more >Add CSS class to an element while dragging over w/ jQuery
Is it possible to add a CSS class to an element while it is being dragged over a particular area and replace the...
Read more >Drag'n'Drop with mouse events
So here we'll see how to implement Drag'n'Drop using mouse events. ... Later we'll see how to add other features, such as highlighting ......
Read more >How To Create Drag and Drop Elements with Vanilla ...
In this tutorial, we will build a drag-and-drop example using the HTML Drag and Drop API with vanilla JavaScript to use the event...
Read more >HTML Drag and Drop
Step 1: Make an object draggable. First set the draggable attribute to true for that element to be draggable <img draggable = “true”>;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@danday74 It’s already published in 2.3.0
Hi @xieziyu ,
Any chance I can make this work for resizing as well?
Thank you, Lucian.