From 38e324cdb216d946fc32da12e2a1e7e84b76e014 Mon Sep 17 00:00:00 2001 From: Artur Paikin Date: Sun, 15 Jul 2018 23:52:57 -0400 Subject: [PATCH] add hideRetryButton and hidePauseResumeCancelButtons to status-bar docs --- website/src/docs/statusbar.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/src/docs/statusbar.md b/website/src/docs/statusbar.md index c2bc796c7..41381404d 100644 --- a/website/src/docs/statusbar.md +++ b/website/src/docs/statusbar.md @@ -77,6 +77,14 @@ By default, progress in the Status Bar is shown as simple percentage. If you wou `showProgressDetails: false`: Uploading: 45% `showProgressDetails: true`: Uploading: 45%・43 MB of 101 MB・8s left +### `hideRetryButton: false` + +Hide the retry button. Use this if you are providing a custom retry button somewhere, and using the `uppy.retryAll()` or `uppy.retryUpload(fileID)` API. + +### `hidePauseResumeCancelButtons: false` + +Hide the cancel or pause/resume buttons (for resumable uploads, via [tus](http://tus.io), for example). Use this if you are providing custom cancel or pause/resume buttons somewhere, and using the `uppy.pauseResume(fileID)`, `uppy.cancelAll()` or `uppy.removeFile(fileID)` API. + ### `locale: {}` Localize text that is shown to the user.