15.2.9 • Published 1 year ago

ngx-show-hide-passwd v15.2.9

Weekly downloads
-
License
Apache 2.0
Repository
github
Last release
1 year ago

ngx-show-hide-password

About

A password hide/show feature for DOM input and ion-input

Input Hidden

Input Show

Instalation

 npm i ngx-show-hide-passwd --save

Usage

app.module.ts

import { NgxShowHidePasswordModule } from 'ngx-show-hide-password';

@NgModule({
  imports: [
    NgxShowHidePasswordModule
  ]
})
export class AppModule {}

app.component.html

 <ion-item>
    <ion-label position="stacked">Password</ion-label>
    <ngx-show-hide-password>
        <ion-input value="My password" type="password"></ion-input>
    </ngx-show-hide-password>
 </ion-item>

OR

app.component.html

 <ngx-show-hide-password>
     <input value="My password" type="password"/>
 </ngx-show-hide-password>