Update docs

This commits adds:
  * information about hideProgressAfterFinish in Dashboard
  * information about hideAfterFinish in StatusBar
This commit is contained in:
Artur Boryś 2018-01-04 10:43:37 +01:00
parent 5a0ffc3d20
commit aaf4e67d91
2 changed files with 9 additions and 0 deletions

View file

@ -27,6 +27,7 @@ uppy.use(Dashboard, {
semiTransparent: false,
showProgressDetails: false,
hideUploadButton: false,
hideProgressAfterFinish: false,
note: null,
metaFields: [],
closeModalOnClickOutside: false,
@ -94,6 +95,10 @@ Show progress bars for the uploads.
Hide the upload button. Use this if you are providing a custom upload button somewhere on the page using the `uppy.upload()` API.
### `hideProgressAfterFinish: false`
Hide StatusBar after upload finish
### `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, 23 files, up to 1 MB'`.

View file

@ -16,5 +16,9 @@ Best used together with a simple file source plugin, such as [FileInput][] or [D
DOM element, CSS selector, or plugin to mount the StatusBar into.
### `hideAfterFinish: true`
Hide StatusBar after upload finish
[FileInput]: https://github.com/transloadit/uppy/blob/master/src/plugins/FileInput.js
[DragDrop]: /docs/dragdrop