Richtexteditor Ui - BeforeFileUploadEventArgs

30 Sep 20261 minute to read

Event args for {@link RichTextEditor.beforeFileUpload}. Extends the ej2
{@link BeforeUploadEventArgs} with the source field that identifies the
editor feature the upload is for (e.g. 'Image').

Properties

cancel boolean

Defines whether the current action can be prevented.

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

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.

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.