Javascript: TextPastedEventArgs.cancel Property
Description
Set this property to true to cancel the event.
Syntax
<boolean> TextPastedEventArgs.cancelExamples
The following example demonstrates TextPastedEventArgs.cancel in a practical document-editing workflow. Set this property to true to cancel the event.
function inspectCancel(textPastedEventArgs) {
const cancel = textPastedEventArgs.cancel;
console.log("cancel:", cancel);
}