akserg / ng2-dnd

Angular 2 Drag-and-Drop without dependencies
MIT License
838 stars 251 forks source link

pass DragEvent parameter to "allowdrop" predict function #194

Open amitm02 opened 7 years ago

amitm02 commented 7 years ago

pass DragEvent parameter in addition to DragData to "allowdrop" predict function. This will allow to check if the dragged item is a file.