Thursday, March 7, 2019

Use the checked attribute at a checkbox in an Angular 7 application.

<input type="checkbox" (click)="updateFoo(foo)" [checked]="foo.isCool">

No comments:

Post a Comment