nuxt-dropzone icon indicating copy to clipboard operation
nuxt-dropzone copied to clipboard

Exposing DropZone class so that confirm can be edited

Open jaysaurus opened this issue 3 years ago • 1 comments

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

jaysaurus avatar Feb 17 '22 12:02 jaysaurus

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.

Etheryte avatar Feb 17 '22 12:02 Etheryte