Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use windowDrop with Component? #11

Open
bluepuma77 opened this issue Jun 1, 2022 · 1 comment
Open

How to use windowDrop with Component? #11

bluepuma77 opened this issue Jun 1, 2022 · 1 comment

Comments

@bluepuma77
Copy link

I want to use multiple FileDrops, therefore disable 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?

@chanced
Copy link
Owner

chanced commented Oct 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants