ngx-show-hide-passwd
TypeScript icon, indicating that this package has built-in type declarations

15.2.9 • Public • Published

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>

Package Sidebar

Install

npm i ngx-show-hide-passwd

Weekly Downloads

1

Version

15.2.9

License

Apache 2.0

Unpacked Size

32.8 kB

Total Files

14

Last publish

Collaborators

  • carlosbenedetti