<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebDragSourceAction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@E@WebDragSourceAction"
  },
  "title" : "WebDragSourceAction"
}
-->

# WebDragSourceAction

Actions that the source object of a drag operation can perform.

```
struct WebDragSourceAction
```

## Topics

### Constants

[`WebDragSourceActionNone`](/documentation/WebKit/WebDragSourceAction/WebDragSourceActionNone)

No action.

[`DHTML`](/documentation/WebKit/WebDragSourceAction/DHTML)

Allows DHTML (such as JavaScript) in the source object to initiate a drag operation.

[`image`](/documentation/WebKit/WebDragSourceAction/image)

Allows the user to drag an image in the source object.

[`link`](/documentation/WebKit/WebDragSourceAction/link)

Allows the user to drag a link in the source object.

[`selection`](/documentation/WebKit/WebDragSourceAction/selection)

Allows the user to drag a selection in the source object.

[`any`](/documentation/WebKit/WebDragSourceAction/any)

Allows any defined action to occur.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)