Last active
October 23, 2020 15:46
-
-
Save nicolasleal570/71a3e7a202ae6cb8d8b6ba0d119a996f to your computer and use it in GitHub Desktop.
TS 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
@Component({ | |
selector: 'app-todo-list', | |
templateUrl: './todo-list.component.html', | |
styleUrls: ['./todo-list.component.scss'] | |
}) | |
export class TodoListComponent implements OnInit { | |
todos: todo[] = DEMO_TODOS; | |
constructor() { } | |
ngOnInit() { | |
} | |
clickMarkAsDone(id) { | |
markAsDoneApi(id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment