3.1.0 • Published 5 years ago

ember-cli-password-toggle v3.1.0

Weekly downloads
37
License
MIT
Repository
github
Last release
5 years ago

ember-cli-password-toggle

Build Status NPM Downlaads

Description

Ember-cli-password-toggle is an ember component that provides an easy way to show and hide a password via a toggle button.

Installation

# install via npm
$ npm install ember-cli-password-toggle --save-dev

Password Toggle

{{password-toggle password=model.password}}

Optionally you set:

  • custom classes
  • wrapperClass
  • buttonClass
  • inputClass
  • inputId
  • focus=true
{{password-toggle password=model.password inputId="input-id" wrapperClass="outerDivClass" buttonClass="buttonCustomClass" inputClass="inputCustomClass" focus=true}}

Migrating from Version 1.x to 2.x

In order to prevent browsers from storing passwords when 'SHOW' is toggled, the plugin has been changed to automatically set the autocomplete value to 'off' when displaying the password in the clear.

Running the unit tests

yarn
ember test

License

Copyright © 2018 Nick Christus

Licensed under the MIT License

3.1.0

5 years ago

3.0.0

6 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.7.0

8 years ago

1.6.0

8 years ago

1.5.1

8 years ago

1.5.0

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago