Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 559 Bytes
<li [class.completed]="viewModel.completed" [class.editing]="viewModel.editing">
<div class="view">
<input class="toggle" type="checkbox" (click)="toggleCompletion()" [checked]="viewModel.completed">
<label (dblclick)="todoDblClick()">{{viewModel.title}}</label>
<button class="destroy" (click)="todoDeleteClick()"></button>
</div>
<input class="edit" [value]="viewModel.title" #inputEditTitle
(blur)="editOnBlur($event)"
(keyup.enter)="editOnKeyEnter($event)"
(keyup.esc)="editOnKeyEsc()" />
</li>