All Components

UploadEvent

Arguments for the upload event.

data Object

The optional object that will be sent to the upload handler in the form of key/value pairs.

files Array<FileInfo>

The list of the files that were uploaded or removed.

headers Headers

The headers of the request.

Methods

isDefaultPrevented

Returns true if the event was prevented by any of its subscribers.

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