|
@@ -66,6 +66,8 @@ uppy.use(Dashboard, {
|
|
showLinkToFileUploadResult: true,
|
|
showLinkToFileUploadResult: true,
|
|
showProgressDetails: false,
|
|
showProgressDetails: false,
|
|
hideUploadButton: false,
|
|
hideUploadButton: false,
|
|
|
|
+ hideRetryButton: false,
|
|
|
|
+ hidePauseResumeCancelButtons: false,
|
|
hideProgressAfterFinish: false,
|
|
hideProgressAfterFinish: false,
|
|
note: null,
|
|
note: null,
|
|
closeModalOnClickOutside: false,
|
|
closeModalOnClickOutside: false,
|
|
@@ -73,9 +75,12 @@ uppy.use(Dashboard, {
|
|
disableInformer: false,
|
|
disableInformer: false,
|
|
disableThumbnailGenerator: false,
|
|
disableThumbnailGenerator: false,
|
|
disablePageScrollWhenModalOpen: true,
|
|
disablePageScrollWhenModalOpen: true,
|
|
|
|
+ animateOpenClose: true,
|
|
proudlyDisplayPoweredByUppy: true,
|
|
proudlyDisplayPoweredByUppy: true,
|
|
onRequestCloseModal: () => this.closeModal(),
|
|
onRequestCloseModal: () => this.closeModal(),
|
|
- locale: {}
|
|
|
|
|
|
+ showSelectedFiles: true,
|
|
|
|
+ locale: defaultLocale,
|
|
|
|
+ browserBackButtonClose: false
|
|
})
|
|
})
|
|
```
|
|
```
|
|
|
|
|
|
@@ -144,6 +149,12 @@ Hide the cancel or pause/resume buttons (for resumable uploads, via [tus](http:/
|
|
|
|
|
|
Hide StatusBar after the upload has finished.
|
|
Hide StatusBar after the upload has finished.
|
|
|
|
|
|
|
|
+### `showSelectedFiles: true`
|
|
|
|
+
|
|
|
|
+Show the list (grid) of selected files with preview and file name. In case you are showing selected files in your own app’s UI and want the Uppy Dashboard to just be a picker, the list can be hidden with this option.
|
|
|
|
+
|
|
|
|
+See also `disableStatusBar` option, which can hide the progress and upload button.
|
|
|
|
+
|
|
### `note: null`
|
|
### `note: null`
|
|
|
|
|
|
Optionally, specify a string of text that explains something about the upload for the user. This is a place to explain any `restrictions` that are put in place. For example: `'Images and video only, 2–3 files, up to 1 MB'`.
|
|
Optionally, specify a string of text that explains something about the upload for the user. This is a place to explain any `restrictions` that are put in place. For example: `'Images and video only, 2–3 files, up to 1 MB'`.
|