i want to show/hide the password text based on the user click. But i am getting the following error saying:
export class App { password = \"secret\"
//In HTML Show Password //In TS file passType: string = 'password'; changePasswordType(){ if(this.passType== 'password'){ this.passType= 'text' }else{ this.passType== 'password' } }