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

774 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 best solutions below

0
On

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