CdkDragPreview
Class
Element that will be used as a template for the preview of a CdkDrag when it is being dragged.
constructor
CdkDragPreview<T>
@paramargs
unknown[]
@returns
CdkDragPreview
templateRef
any
data
T
Context data to be added to the preview template instance.
matchSize
boolean
Whether the preview should preserve the same size as the item that is being dragged.
ngOnDestroy
void
@returns
void
Jump to details