reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
307 stars 120 forks source link

How to show empty placeholder #116

Closed sandeepsuvit closed 1 year ago

sandeepsuvit commented 2 years ago

In my application i would like to display an empty text or placeholder image when the list inside the dropzone is empty. Is there a directive i can use to achieve this?

reppners commented 2 years ago

This can be done by what angular provides e.g. with an *ngIf inside your dropzone. The emptiness of the dropzone should be determined by your application code.

ChristofFritz commented 1 year ago

@sandeepsuvit you'll find an example in the demo application here