Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <input type="search"><button (click)="search()" class="btn btn-danger">search</button>
  2. <table class="table">
  3. <tr *ngFor="let todo of todos" (click)="toggle(todo)" [class.fertig]="todo.done">
  4. <td>{{ todo.label }}</td>
  5. <td> <button (click)="delete(todo)"class="btn btn-dark">delete</button> </td>
  6. </tr>
  7. </table>
  8.  
  9. <input [(ngModel)]="newTodo.label"><button (click)="save()"class="btn btn-success"><i class="material-icons">
  10. save
  11. </i></button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement