DS Server

Javascript: TextDroppedEventArgs.cancel Property

Property|Introduced in 23.0

Description

Set this property to true to cancel the event.

Syntax

<boolean> TextDroppedEventArgs.cancel

Examples

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

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