ObaidUrRehman / ng-drag-drop

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

Change frag image before drag #150

Closed TKul6 closed 6 years ago

TKul6 commented 6 years ago

Please remove sections that are not required.

I'm pretty sure the issue is I create the image when the onDragStart is invoked, and it is too late.

Alternatively, maybe I can provide a lambda that creates an image uri instead of the dragImage property?

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

Can you please help me?

Angular CLI: 6.0.7 Node: 9.0.0 OS: win32 x64 Angular: 6.0.4 ... compiler, core

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