Angular Event Binding, To-do List

How to perform Angular Event Binding import {Component} from ‘@angular/core’; @Component({ selector: ‘app-root’, templateUrl: ‘./app.component.html’ }) export class AppComponent{ name: ‘Jsrd’; show:boolean; welcomeMe(username){ this.name=username; this.show=true; }} How to create a To-do List in Angular import {Component} from ‘@angular/core’; @Component({ selector: ‘app-root’, templateUrl: ‘./app.component.html’ styleUrls:[‘./app.component.css’] }) export class AppComponent{ todos:any done:boolean newToDo: String neToDoObj:any error:boolean TODOS: …

Angular Event Binding, To-do List Read More »