IDeleteArea interface
Interface for a component that can delete a block or bubble that is dropped on top of it.
Signature:
export interface IDeleteArea extends IDragTarget
Extends: IDragTarget
Methods
Method | Description |
---|---|
wouldDelete(element, couldConnect) | 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. |