@i2v/forget-password-6.0
v1.0.2
Published
This library was generated with [Angular CLI] version 6.0.0.
Downloads
6
Readme
ForgetPassword
This library was generated with [Angular CLI] version 6.0.0.
How To use
<lib-forgetpassword [resendTime]="" [otpLength]="" [key]="">
resendTime is to assign the time before otp cannot be sent again . It take input in seconds and input type is a number.Default time is 60 seconds
otpLength is to assign the number of digits otp is having. Input type is a number and defualt value is 4.
key is a mandadtory field , it is used for hashing password .
Build
Run ng build --prod
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build --prod
, go to the dist folder cd dist/forget-password
and run npm publish --access public
.
Running unit tests
Run ng test forgetPassword
to execute the unit tests via Karma.