Coding Challenge
<button mat-icon-button matTooltip="hi" *ngIf="isValid" (click)="hi(x, y)">
Code Solution
isValid: boolean = false;
hi(x,y){
this.isValid
}
I'm facing a challenging coding problem.
I am trying to hide the button after it is clicked.