# GraffitiDrag
Class Inherits GraffitiWebUIControl
## About
Easily add support for drag and drop to your Xojo Web applications in a much more intuitive manner. You define the source, the destination, and the result!
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| DragEnter | item as GraffitiDragItem | (None) | Raised when the user's drag operation enters an initialized target. |
| DragExit | item as GraffitiDragItem | (None) | Raised when user's drag operation exits an initialized target. |
| Drop | item as GraffitiDragItem <br> data as JSONItem | (None) | Raised when user drops a valid source on a valid target. |
| Open | (None) | (None) | (None) |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Initialize | item as GraffitiDragItem | (None) | Called with a valid GraffitiDragItem will setup the specified source and target to allow drag and drop operations. |