polymer-password-strength
A password strength indicator for use in Polymer 2 projects, powered by zxcvbn
[ This description is mirrored from README.md at github.com/limonte/polymer-password-strength on 2018-10-18 ]
<password-strength>
A Polymer password strength indicator, powered by zxcvbn
<div id="random-password"></div>
<password-strength></password-strength>
<script>
const passwordStrength = document.querySelector('password-strength')
setInterval(() => {
const random = Math.random().toString(36).substring(Math.random()*10)
passwordStrength.password = random
document.querySelector('#random-password').innerText = 'Current password: ' + random
}, 1000)
</script>
Installation
bower install --save polymer-password-strength
Usage
<link rel="import" href="bower_components/polymer-password-strength/password-strength.html">
<password-strength password="[[ password ]]"></password-strength>
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
polymer#^2.0.0
- zxcvbn#^4.0.0
- Released
- 2017-08-24
- Maturity
- TESTED
- License
- Other
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent