• Overview
@angular/cdk/drag-drop

CdkDragPlaceholder

directive

Element that will be used as a template for the placeholder of a CdkDrag when it is being dragged. The placeholder is displayed in place of the element being dragged.

API

  
    class CdkDragPlaceholder<T = any> implements OnDestroy {}
  
  

constructor

CdkDragPlaceholder<T>
@paramargsunknown[]

templateRef

any

data

T

Context data to be added to the placeholder template instance.

ngOnDestroy

void
@returnsvoid
Jump to details