Guest User

Untitled

a guest
Oct 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. // combobox.component.html
  2.  
  3. <div class="multiselect">
  4. <div class="selectbox" (click)="showCheckboxes()">
  5. <select>
  6. <option>Выбрать что-то</option>
  7. </select>
  8.  
  9. <div class="over-select"></div>
  10. </div>
  11.  
  12. <div class="checkboxes" *ngIf="checkboxesShown">
  13. <ng-container *ngFor="let todo of todos; let index = index">
  14. <label [attr.for]="index">
  15. <input type="checkbox" [attr.id]="index" [checked]="todo.completed" (change)="checkTodo(todo)">
  16. {{ todo.title }}
  17. </label>
  18. </ng-container>
  19. </div>
  20. </div>
Add Comment
Please, Sign In to add comment