File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ Events emitted by the component to the parent.
133133| vdropzone-file-added(file) | File added to the dropzone.|
134134| vdropzone-files-added(file) | Files added to the dropzone.|
135135| vdropzone-file-added-manually(file) | Manually added file to the dropzone |
136+ | vdropzone-thumbnail(file, dataUrl) | When the thumbnail has been generated. Receives the dataUrl as second parameter. |
136137| vdropzone-success(file, response) | File successfully uploaded.|
137138| vdropzone-error(file) | File uploaded encountered an error.|
138139| vdropzone-removed-file(file, error, xhr) | A file was removed from the dropzone.|
Original file line number Diff line number Diff line change 299299 // Handle the dropzone events
300300 let vm = this ;
301301
302- this .dropzone .on (' thumbnail' , function (file ) {
303- vm .$emit (' vdropzone-thumbnail' , file)
302+ this .dropzone .on (' thumbnail' , function (file , dataUrl ) {
303+ vm .$emit (' vdropzone-thumbnail' , file, dataUrl )
304304 });
305305
306306 this .dropzone .on (' addedfile' , function (file ) {
You can’t perform that action at this time.
0 commit comments