Acara Perubahan Kotak MAT di Angular 7
whTax =false;
<mat-checkbox color="primary"
name="whTax" [checked]="false"
[(ngModel)]="whTax" id="IsHold"
(change)="onWHChange(whTax)">
W/H TAX
</mat-checkbox>
onWHChange(isWhChecked){
console.log('isWhChecked:>>', isWhChecked);
}
Depressed Dingo