ObaidUrRehman / ng-drag-drop

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

Creating image when start deragging #151

Closed TKul6 closed 6 years ago

TKul6 commented 6 years ago

Please remove sections that are not required.

The onDragStart event is invoked after the image has been added to the dataTransfer object of the drag event.

In my site, I wish to create a specific image depended on the user's current object drop.

I tried to hook to the onDragStart and change the image Url, unfortunately it is too late, and the image is displayed only at the second drag.

I'm in a real mess and not sure what to do.

Can you please help me?

Package Version @angular-devkit/architect 0.6.7 (cli-only) @angular-devkit/core 0.6.7 (cli-only) @angular-devkit/schematics 0.6.7 (cli-only) @schematics/angular 0.6.7 (cli-only) @schematics/update 0.6.7 (cli-only) rxjs 6.2.0 typescript 2.7.2

Thanks

uareurapid commented 6 years ago

hi @TKul6 I don't think any of these will get fixed, the project maintainer announced the end of it: https://github.com/ObaidUrRehman/ng-drag-drop "Discontinuation Notice"

TKul6 commented 6 years ago

Moved to Material CDK Drag & Drop