How to restrict a cdkDrag element to be drag only beside a particular element?

Viewed 140

Say I use ngFor to populate my cdkDropList. What is the most efficient way to restrict a cdkDrag element to only drag beside certain elements?

0 Answers
Related