|
@@ -11,6 +11,13 @@ ProgressBar is a minimalist plugin that shows the current upload progress in a t
|
|
|
|
|
|
## Options
|
|
|
|
|
|
+```js
|
|
|
+uppy.use(ProgressBar, {
|
|
|
+ target: '.UploadForm',
|
|
|
+ fixed: false
|
|
|
+})
|
|
|
+```
|
|
|
+
|
|
|
### `target: null`
|
|
|
|
|
|
DOM element, CSS selector, or plugin to mount the progress bar into.
|
|
@@ -18,3 +25,10 @@ DOM element, CSS selector, or plugin to mount the progress bar into.
|
|
|
### `fixed: false`
|
|
|
|
|
|
When true, show the progress bar at the top of the page with `position: fixed`. When false, show the progress bar inline wherever it is mounted.
|
|
|
+
|
|
|
+```js
|
|
|
+uppy.use(ProgressBar, {
|
|
|
+ target: 'body',
|
|
|
+ fixed: true
|
|
|
+})
|
|
|
+```
|