When I add [cdkDragFreeDragPosition]
to a div I get the following error:
I tried to apply this same example: https://stackblitz.com/angular/bxalqlqlaly?file=src%2Fapp%2Fcdk-drag-drop-free-drag-position-example.ts
Example:
<div class="example-box" cdkDragBoundary=".example-boundary" cdkDrag [cdkDragFreeDragPosition]="dragPosition">
<h2>Test</h2>
</div>