Skip to content

Commit 3dd925d

Browse files
author
Rifaudeen
committed
updated documentation regarding duplicateCheck and duplicate-file event
1 parent 063125e commit 3dd925d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Many of these props are inherited from [dropzone configuration so see their doco
7878
| resizeMimeType | String | The mime type of the resized image (before it gets uploaded to the server). If `null` the original mime type will be used. To force `jpeg`, for example, use `image/jpeg`. `Default : null` |
7979
| resizeQuality | Number | The quality of the resized images. `Default : null` |
8080
| resizeMethod | String | How the images should be scaled down in case both, `resizeWidth` and `resizeHeight` are provided. Can be either `contain` or `crop`. `Default : 'contain'` |
81+
| duplicateCheck | Boolean | Whether to check for duplicate file by file name. if true `duplicate-file` event will be emitted. `Default : 'false'` |
8182

8283
## Custom Dropzone preview template
8384

@@ -133,6 +134,7 @@ Events emitted by the component to the parent.
133134
| vdropzone-queue-complete(file, xhr, formData) | Fired when queue has been completely processed/ uploaded.|
134135
| vdropzone-total-upload-progress(totaluploadprogress, totalBytes, totalBytesSent) | This event can be used to show the overall upload progress of all files. Note : `totaluploadprogress (0-100)`|
135136
| vdropzone-mounted() | Fired when dropzone component is mounted. |
137+
| duplicate-file(file) | Fired when duplicateCheck is enabled. |
136138

137139

138140
## Development

0 commit comments

Comments
 (0)