All Components

SuccessEvent

Fires when the selected files are successfully uploaded or removed.

Arguments for the success event:

files Array<FileInfo>

The list of the files that were uploaded or removed.

operation OperationType

The operation type (upload or remove).

response Response

The response object returned by the server.

Methods

isDefaultPrevented

If the event is prevented by any of its subscribers, returns true.

Returns

boolean true if the default action was prevented. Otherwise, returns false.

preventDefault

Prevents the default action for a specified event.
In this way, the source component suppresses the built-in behavior that follows the event.

In this article