ngx-show-hide-passwd
v15.2.9
Published
A password hide/show feature for DOM input and ion-input
Downloads
7
Maintainers
Readme
ngx-show-hide-password
About
A password hide/show feature for DOM input and ion-input
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>