acceptDrop

Specifies whether a drop will be accepted during a drag and drop. Deprecated

# Metadata

Platforms: desktop OS: Introduced: 2.0 Security:

# Syntax

set the acceptDrop to {true | false}

# Examples

set the acceptDrop to true

if word 1 of the target is "button" then set the acceptDrop to false

# Description

The acceptDrop property is deprecated as of version 2.9. Setting the acceptDrop to true is equivalent to setting the dragAction to "copy".

In previous versions, setting the acceptDrop property in an object dragEnter handler allowed it to accept drops.

# Tags

ui,

# See

- **glossary:** object, property, handler, drag and drop - **message:** dragEnter, dragEnd