Richtexteditor Ui - FileSelectedEventArgs

30 Sep 20261 minute to read

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

Properties

cancel boolean

Defines whether the current action can be prevented.

currentRequest { [key: string]: string }[]

Set the current request header to the XMLHttpRequest instance.

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

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

event MouseEvent|TouchEvent|DragEvent|ClipboardEvent

Returns the original event arguments.

filesData FileInfo[]

Returns the list of selected files.

isCanceled boolean

Specifies whether the file selection has been canceled

isModified boolean

Determines whether the file list generates based on the modified data.

modifiedFilesData FileInfo[]

Specifies the modified files data to generate the file items. The argument depends on isModified argument.

progressInterval string

Specifies the step value to the progress bar.

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.