All Components

RemoveEvent

Fires when an uploaded or selected file is about to be removed. If you cancel the event, the removal is prevented.

Arguments for the remove event:

data Object

An optional object that is sent to the remove handler in the form of a key/value pair.

files Array<FileInfo>

The list of the files that are about to be removed.

headers Headers

The headers of the request.

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