JQuery UI Drag 'n' Drop Ghosting Effect

I am trying to simulate Scriptaculous β€œghosting” functionality using jQuery UI. I found a demo and could make DnD work, but the ghost option of the element as it is being dragged seems to be missing.

All this happens: when you drag an element, it stays in place until failure, but you get a translucent copy that follows the mouse.

Is this possible with jQuery?

+4
source share
1 answer

Yes, look at this demo: http://jqueryui.com/demos/draggable/#visual-feedback

I think you need a translucent clone.

The drag-and-drop interface property used is a helper.

+4
source

Source: https://habr.com/ru/post/1368926/


All Articles