|
@@ -16,7 +16,8 @@ uppy.use(DragDrop, {
|
|
|
target: null,
|
|
|
width: '100%',
|
|
|
height: '100%',
|
|
|
- note: '',
|
|
|
+ allowMultipleFiles: true,
|
|
|
+ note: null,
|
|
|
locale: {
|
|
|
strings: {
|
|
|
dropHereOr: 'Drop files here or',
|
|
@@ -26,6 +27,22 @@ uppy.use(DragDrop, {
|
|
|
})
|
|
|
```
|
|
|
|
|
|
+### `target: null`
|
|
|
+
|
|
|
+DOM element, CSS selector, or plugin to place the drag and drop area into.
|
|
|
+
|
|
|
+### `width: '100%'`
|
|
|
+
|
|
|
+Drag and drop area width, set in inline CSS, so feel free to use percentage, pixels or other values that you like.
|
|
|
+
|
|
|
+### `height: '100%'`
|
|
|
+
|
|
|
+Drag and drop area height, set in inline CSS, so feel free to use percentage, pixels or other values that you like.
|
|
|
+
|
|
|
+### `allowMultipleFiles: true`
|
|
|
+
|
|
|
+Whether to allow user to select multiple files at once via the system file dialog.
|
|
|
+
|
|
|
### `note: null`
|
|
|
|
|
|
Optionally specify a string of text that explains something about the upload for the user. This is a place to explain `restrictions` that are put in place. For example: `'Images and video only, 2–3 files, up to 1 MB'`.
|