DropTarget
Direct Implemented:
An interface that signifies the renderable can handle drops.
Method Summary
| Public Methods | ||
| public |
Calculates the highlight coordinates for the drop target. |
|
| public |
handleDrop(item: Renderable, dropArea: DropArea, event: DragEvent<Renderable>) Handles an item being dropped on this Renderable. |
|
| public |
Invoked when the item is no longer a drop target. |
|
Public Methods
public getHighlightCoordinates(args: HighlightCoordinateArgs): RenderableArea source
Calculates the highlight coordinates for the drop target.
Params:
| Name | Type | Attribute | Description |
| args | HighlightCoordinateArgs |
public handleDrop(item: Renderable, dropArea: DropArea, event: DragEvent<Renderable>) source
Handles an item being dropped on this Renderable.
Params:
| Name | Type | Attribute | Description |
| item | Renderable | ||
| dropArea | DropArea | ||
| event | DragEvent<Renderable> |