Home > Enterprise >  How to hide button after clicked (TypeScript)
How to hide button after clicked (TypeScript)

Time:01-14

Html

enter image description here


ts

enter image description here

I'm so stuck I just started.

I want to hide the button after clicked.

CodePudding user response:

Here it is:

isValid: boolean = true;

hi(x,y) {
  this.isValid = false;
}
  • Related