Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

ionic pasword visible inside ion-input

public showPassword: boolean = false;
public showHide(): void
{
	this.showPassword = !this.showPassword;
}

...

<div class="col-12 placeholder">
  <ion-input [type]="showPassword ? 'text' : 'password'" class="col-12" placeholder="Senha" [(ngModel)]="pwd"></ion-input>
  <ion-icon [name]="showPassword ? 'eye-off' : 'eye'" (click)="showHide()"></ion-icon>
</div>
Comment

PREVIOUS NEXT
Code Example
Typescript :: check if file.properties is exits android 
Typescript :: requests python no proxy 
Typescript :: bootstrap angular 
Typescript :: why does mongoose minimize by default 
Typescript :: bar plots subplots 
Typescript :: azure artifacts npm install latest version not updating 
Typescript :: angle between two points unity 
Typescript :: install eslint for typescript 
Typescript :: start blender from terminal 
Typescript :: typescript initialise map 
Typescript :: clickawaylistener material ui 
Typescript :: see sheets of excel file python 
Typescript :: ionic copy to clipboard 
Typescript :: recharts bar chart layout vertical 
Typescript :: how to make comments in .env files 
Typescript :: serving vue3 in django 
Typescript :: stored procedure that selects in to a table 
Typescript :: exposants python 
Typescript :: is assigned a value but never used 
Typescript :: date format in typescript 
Typescript :: peer of typescript@=2.8.0 
Typescript :: Please make sure you have the correct access rights and the repository exists. 
Typescript :: custom fonts vue 
Typescript :: key value typescript 
Typescript :: get products in wordpress 
Typescript :: angular subscribe catch stat 
Typescript :: how to make space equal between elements in a linearlayout android studio 
Typescript :: angular set query params 
Typescript :: typeorm relation id 
Typescript :: check if a date is before another date in typescript 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =