Richtexteditor Ui - FileUploadingEventArgs

30 Sep 20261 minute to read

Event args for {@link RichTextEditor.fileUploading}. Extends the ej2
{@link UploadingEventArgs} with the source field that identifies the
editor feature the upload is for.

Properties

cancel boolean

Defines whether the current action can be prevented.

chunkSize number

Returns the chunk size in bytes if the chunk upload is enabled.

currentChunkIndex number

Returns the index of current chunk if the chunk upload is enabled.

currentRequest XMLHttpRequest

Returns the XMLHttpRequest instance that is associated with upload action.

customFormData { [key: string]: Object }[]

Defines the additional data in key and value pair format that will be submitted to the upload action.

fileData FileInfo

Returns the list of files that will be uploaded.

source string

The editor feature the sub-component belongs to. Supplied by the caller
when the sub-component is created. Undefined for generic sub-components
that are not tied to a specific feature.