Skip to content

Matiszak/ngx-password-toggle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx-password-toggle

Angular 4+ directive to show/hide password

npm npm npm npm

Install

npm i ngx-password-toggle

Import

import { NgxPasswordToggleModule } from 'ngx-password-toggle';

@NgModule({
  imports: [
    ...,
    NgxPasswordToggleModule
  ]
})
export class MyModule(){ }

Use directive

use passwordToggle directive

<!-- Password -->
<div class="field">
  <label for="">Password</label>
  <input type="password" name="password" ngModel passwordToggle required>
</div>

About

Angular 4+ directive to show/hide password

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%