mozUserCancelled property (dataTransfer)
Returns whether the current drag-and-drop operation has been canceled by the user.
Note: The dataTransfer object and its mozUserCancelled property are supported in Firefox from version 3.5.The mozUserCancelled property is only relevant for the ondragend event.
You can find the related objects in the Supported by objects section below.
This property is read-only.
One of the following values:
|The drag operation was not canceled by the user.|
|The user pressed the escape button during the drag operation.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the mozUserCancelled property:
Did you find this example helpful?
User Contributed Comments