فهرست منبع

add hideRetryButton and hidePauseResumeCancelButtons to status-bar docs

Artur Paikin 6 سال پیش
والد
کامیت
38e324cdb2
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  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.