Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

effectAllowed

The effectAllowed property of the DataTransfer object specifies the allowed dropEffect operations. This property can only be set in the "dragstart" event, but its value may be read in other drag events.

SyntaxdataTransfer.effectAllowed

Values

all - allow all drop operations. copy - allow the source item to be copied to the drop zone. copyLink - allow copy or link operations. copyMove - allow copy or move operations. link - allow a link or connection be made to the source item. linkMove - allow link or move operations. move - allow the source item to moved to the drop zone. none - item cannot be dropped. uninitialized - same as "all" if no effect is specified.

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined