Open bluepuma77 opened 2 years ago
I want to use multiple FileDrops, therefore disable windowDrop.
FileDrop
windowDrop
I expected
<FileDrop windowDrop="false" on:filedrop={(e) => { files = e.detail.files }}> Upload files </FileDrop>
but I get a TypeScript error. How can I pass the additional option?
Sorry, I just noticed this issue. I'm not sure how I missed it.
Ah, it seems I didn't add window drop as a param on the component. If you need a solution, use the action until I update the package to include it.
I want to use multiple
FileDrop
s, therefore disablewindowDrop
.I expected
but I get a TypeScript error. How can I pass the additional option?