Created
September 3, 2021 18:40
-
-
Save NyaGarcia/3e95f026b7d13f20e6a71a31dce75823 to your computer and use it in GitHub Desktop.
Adding the cdkDropListDropped event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div cdkDropList class="todo-list" (cdkDropListDropped)="drop($event)"> | |
<h3>TO DO</h3> | |
<div class="awesome-todo" *ngFor="let todo of todos" cdkDrag>{{todo}}</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment