You should set this property in the onDragStart event handler.
The following values can be assigned to this property, to control whether the drag drop is allowed to happen:
copy
link
move
copyLink
copyMove
linkMove
all
none
uninitialized
Assigning values to this property must be done bearing in mind what you have assigned to the dropEffect property as the two work together.
See also: | dataTransfer.dropEffect, onDragStart |
Prev | Home | Next |
dataTransfer.dropEffect | Up | dataTransfer.getData() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |