Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

dropEffect

The dropEffect property of the DataTransfer object specifies the operation that is to take place in drop and drop operations. This property can be read or set.

SyntaxdataTransfer.dropEffect

Values

copy - copy the item to the drop zone. move - move the item to the drop zone. link - create a relationship or connection link to the dragged item in the drop zone. none - item cannot be dropped.

JavaScript Example

Video Tutorial: Drag and Drop HTML5 DnD Application Development Tutorial

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined