CdkDragDrop
interface
Event emitted when the user drops a draggable item inside a drop container.
previousIndex
numberIndex of the item when it was picked up.
currentIndex
numberCurrent index of the item.
item
CdkDrag<I>Item that is being dropped.
container
CdkDropList<T>Container in which the item was dropped.
previousContainer
CdkDropList<O>Container from which the item was picked up. Can be the same as the container.
isPointerOverContainer
booleanWhether the user's pointer was over the container when the item was dropped.
distance
{ x: number; y: number; }Distance in pixels that the user has dragged since the drag sequence started.
dropPoint
{ x: number; y: number; }Position where the pointer was when the item was dropped
event
MouseEvent | TouchEventNative event that caused the drop event.
Jump to details