Can’t bind to “cdkDropListData” since it isn’t a known property of ‘div’.?

736 views Asked by At

I’m trying to use Drag-Drop evet in Angular with cdk but when I tried to import codes to my proects (imports etc.) the terminal says Can’t bind to “cdkDropListData” since it isn’t a known property of ‘div’. What is solution of this?

imported cdk from angular core

1

There are 1 answers

0
davood beheshti On

I had the exact same problem And by adding cdkDropList to the module this was fixed