Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 7, 2021 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/6c83113bb3a3e9fa19e6bd6c264f6b56 to your computer and use it in GitHub Desktop.
Save parzibyte/6c83113bb3a3e9fa19e6bd6c264f6b56 to your computer and use it in GitHub Desktop.
<ul>
<li *ngFor="let tarea of tareas;let indice = index;" [class.tachado] ="tarea.terminada">
<input [(ngModel)]="tarea.terminada" (change)="cambiarEstadoDeTarea()" type="checkbox">
{{tarea.nombre}}
<a (click)="eliminarTarea(indice)" class="enlace-eliminar">&times;</a>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment