Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Playlist?</h1>
- <p> ingrese la cancion...</p>
- <input type="text" [(ngModel)]="nombre">
- <input type="text" [(ngModel)]="album">
- <input type="text" [(ngModel)]="autor">
- <button (click)="agregarCancion();">agregar</button>
- <ul>
- <li *ngFor="let cancion of canciones">
- {{cancion.album}} {{cancion.nombre}} {{cancion.autor}}
- </li>
- </ul>
- <table>
- <tr *ngFor="let cancion of canciones">
- <td>{{cancion.nombre}}</td>
- <td>{{cancion.album}}</td>
- <td>{{cancion.autor}}</td>
- </tr>
- </table>
Add Comment
Please, Sign In to add comment