Created
October 23, 2020 15:44
-
-
Save nicolasleal570/46bc7e703a96f76be3cbc24f80b9c211 to your computer and use it in GitHub Desktop.
HTML Todo List component
This file contains 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 class="todo-list"> | |
<div *ngFor="let todo of todos"> | |
<app-todo-item | |
[id]="todo.id" | |
[title]="todo.title" | |
[description]="todo.description" | |
(onClick)="clickMarkAsDone(todo.id)" | |
> | |
</app-todo-item> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment