Skip to content

Commit

Permalink
Add notes re. dropzone behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Sep 23, 2023
1 parent fce4382 commit 9aa22b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ $(() => {
});
```

> **Special behaviour for dropzones:**
>
> `onComplete` only fires when `showFinishButton = true` (i.e. when the user clicks "Finish").
>
> `onUpdate` must be used when `showFinishButton = false`.
>
> Default value: `showFinishButton = false`
## Result

The callbacks receive a `Array<UploadWidgetResult>`:
Expand Down

0 comments on commit 9aa22b9

Please sign in to comment.