anseki / plain-draggable

The simple and high performance library to allow HTML/SVG element to be dragged.
https://anseki.github.io/plain-draggable/
MIT License
773 stars 99 forks source link

How to control the ghost shadow when dragging? #116

Closed cookiejest closed 2 years ago

cookiejest commented 2 years ago

I am trying to find how the ghost image is set when dragging an element. I was searching for setDragImage or something similar, any ideas?

anseki commented 2 years ago

Hi @cookiejest, thank you for the comment. We don't know the "ghost shadow" and the "ghost image" that you said. If you want to change the style of the element according to status of dragging, you can do that very easy. For example: https://anseki.github.io/plain-draggable/#ex-110-stage

anseki commented 2 years ago

No reply came, then this abandoned issue is closed.