Events
| Property | Type | Description |
|---|---|---|
onChange | function | (optional) Will be called on files changes made by the user. Access the files with { files } (containing each a fileItem). |
onFileDelete | function | (optional) Will be called once a file gets deleted by the user. Access the deleted file with { fileItem }. |
onFileClick | function | (optional) Will be called once a file gets clicked on by the user. Access the clicked file with { fileItem }. When providing this prop, the file will be rendered as a button instead of an anchor or plain text. |
Read more about fileItem in the properties docs section FileItem.