FileDroppedEventArgs Object
Description
The event argument object for the fileDropped event.
Syntax
{
fileName: <string>,
fileType: <string>,
fileSize: <number>,
cancel: <boolean>
}Examples
The following example demonstrates FileDroppedEventArgs in a practical document-editing workflow. The event argument object for the fileDropped event.
function handleFileDropped(args) {
console.log("file name:", args.fileName);
console.log("file type:", args.fileType);
console.log("file size:", args.fileSize);
console.log("cancel:", args.cancel);
}