• Overview
@angular/cdk/drag-drop

CdkDragEnter

interface

Event emitted when the user moves an item into a new drop container.

API

  interface CdkDragEnter<T = any, I = T> { container: CdkDropList<T>; item: CdkDrag<I>; currentIndex: number;}  

container

CdkDropList<T>

Container into which the user has moved the item.

item

CdkDrag<I>

Item that was moved into the container.

currentIndex

number

Index at which the item has entered the container.

Jump to details