Element that will be used as a template for the preview of a CdkDrag when it is being dragged.
API
class CdkDragPreview<T = any> implements OnDestroy {
templateRef: any;
data: T;
matchSize: boolean;
}
templateRef
anydata
TContext data to be added to the preview template instance.
matchSize
booleanWhether the preview should preserve the same size as the item that is being dragged.
ngOnDestroy
void
@returns
void