TableDropTargetProps<DragDropObject> Interface

Deprecated  

Beta  

Properties for the Table's DropTarget.

Extends

Inherited methods

Name Inherited from Description
canDropTargetDrop(args: DropTargetArguments<DragDropObject>): boolean Optional DropTargetProps<DragDropObject> Determines whether item may be dropped on DropTarget.
onDropTargetDrop(args: DropTargetArguments<DragDropObject>): DropTargetArguments<DragDropObject> Optional DropTargetProps<DragDropObject> Triggered when item is dropped on wrapped component.
onDropTargetOver(args: DropTargetArguments<DragDropObject>): void Optional DropTargetProps<DragDropObject> Triggered when item is dragged over wrapped component.

Properties

Name Type Description
canDropOn undefined | boolean Used for table components that allow dropping on top of node(as opposed to above or below).  

Inherited properties

Name Type Inherited from Description
objectTypes string | symbol[] | () => string | symbol[] DropTargetProps<DragDropObject> List of allowed object types

Defined in

Last Updated: 12 June, 2024