TX Text Control .NET Server

Javascript: FileDroppedEventArgs.cancel Property

Property|Introduced in 23.0

Description

Set this property to true to cancel the event.

Syntax

<boolean> FileDroppedEventArgs.cancel

Examples

The following example demonstrates FileDroppedEventArgs.cancel in a practical document-editing workflow. Set this property to true to cancel the event.

function inspectCancel(fileDroppedEventArgs) {
    const cancel = fileDroppedEventArgs.cancel;
    console.log("cancel:", cancel);
}