Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input type="search"><button (click)="search()" class="btn btn-danger">search</button>
- <table class="table">
- <tr *ngFor="let todo of todos" (click)="toggle(todo)" [class.fertig]="todo.done">
- <td>{{ todo.label }}</td>
- <td> <button (click)="delete(todo)"class="btn btn-dark">delete</button> </td>
- </tr>
- </table>
- <input [(ngModel)]="newTodo.label"><button (click)="save()"class="btn btn-success"><i class="material-icons">
- save
- </i></button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement