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

Exposing DropZone class so that confirm can be edited #22

Open
jaysaurus opened this issue Feb 17, 2022 · 1 comment
Open

Exposing DropZone class so that confirm can be edited #22

jaysaurus opened this issue Feb 17, 2022 · 1 comment

Comments

@jaysaurus
Copy link

jaysaurus commented Feb 17, 2022

The DropZone class can have its confirm method overridden.
please see:
https://docs.dropzone.dev/configuration/basics/methods

as it stands, there doesn't seem to be a way to access the DropZone class directly via nuxt-dropzone, only an instance.

My suggestion would be to allow DropZone to be exposed via a plugin

@Etheryte
Copy link
Owner

I think a simple static property would make more sense than a plugin, but in general, I think the idea is good if the reference can be easily recovered. As covered in the readme, contributions are welcome so feel free to open a pull request with the relevant changes.

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

No branches or pull requests

2 participants