Sfoglia il codice sorgente

add hideRetryButton and hidePauseResumeCancelButtons to status-bar docs

Artur Paikin 6 anni fa
parent
commit
38e324cdb2
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      website/src/docs/statusbar.md

+ 8 - 0
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.