Skip to content

Events

PropertyTypeDescription
onChangefunction(optional) Will be called on files changes made by the user. Access the files with { files } (containing each a fileItem).
onFileDeletefunction(optional) Will be called once a file gets deleted by the user. Access the deleted file with { fileItem }.

Each fileItem will contain a { file, id } (File Object and an unique ID) along with other information.