Abstract class for a component that can delete a block or bubble that is dropped on top of it.
Handles when a cursor with a block or bubble enters this drag target.
The block or bubble currently being dragged.
Handles when a cursor with a block or bubble exits this drag target.
The block or bubble currently being dragged.
Handles when a cursor with a block or bubble is dragged over this drag target.
The block or bubble currently being dragged.
Handles when a block or bubble is dropped on this component. Should not handle delete here.
The block or bubble currently being dragged.
Returns whether the provided block or bubble should not be moved after being dropped on this component. If true, the element will return to where it was when the drag started.
The block or bubble currently being dragged.
Whether the block or bubble provided should be returned to drag start.
Returns whether the provided block or bubble would be deleted if dropped on this area. This method should check if the element is deletable and is always called before onDragEnter/onDragOver/onDragExit.
The block or bubble currently being dragged.
Whether the element could could connect to another.
Whether the element provided would be deleted if dropped on this area.
Fake class which should be extended to avoid inheriting static properties