• Overview
@angular/cdk/drag-drop

CdkDragEnd

interface

Event emitted when the user stops dragging a draggable.

API

  
    interface CdkDragEnd<T = any> {}
  
  

source

CdkDrag<T>

Draggable that emitted the event.

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 | TouchEvent

Native event that caused the dragging to stop.

Jump to details