💎 Release new version 1.2.0
🌟Features
🆕Added two new props: toggle
and showPassword
.
The toggle
prop, if set to true
, will show a button which will reveal and hide the password.
The showPassword
prop is to directly reveal and hide the password. If you want to add a custom button for example.
🆕 Added 4 new events:
@show
will be emitted if showing the password@hide
will be emitted if hiding the password@score
will return the zxcvbn score (Integer from 0-4) [ℹ] (https://github.com/dropbox/zxcvbn#usage)@feedback
will return an zxcvbn feedback object withsuggestion
andwarning