CdkDragAndDrop how to prevent dragging
问题 I'm trying to use the Angular Material CDK DragDrop module from https://material.angular.io/cdk/drag-drop/overview With the cdkDropListDropped event I can prevent dropping but it shouldn't be dragged either. How can I tell a cdkDropList or each cdkDrag elements to disable dragging? <div class="list-group" id="orderlist" cdkDropList (cdkDropListDropped)="drop($event)"> <a class="list-group-item" [class.linked]="ord.linkedToPrevious" [class.selected]="ord.selected" *ngFor="let ord of items"