This property defines the effect when the data item is dropped onto the receiving element. It needs to be used with the effectAllowed property. Controlling the drag drop operation at this level is quite complicated and you should consult the Microsoft developer web site for an in depth explanation of how it works.
This property accepts the following values:
copy
link
move
none
This value can be set during certain event handlers, during the drag operation. These events are likely candidates:
onDragEnter
onDragOver
onDrop
| See also: | dataTransfer.effectAllowed, onDragEnter, onDragOver, onDrop |
| Prev | Home | Next |
| dataTransfer.clearData() | Up | dataTransfer.effectAllowed |
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. | ||