How to use
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
<script src="../node_modules/pwstrength-bootstrap/dist/pwstrength-bootstrap.min.js"></script>
Copy-paste the following <script>
near the end of your pages under JS Front to enable it.
<script src="../assets/js/hs-pwstrength.js"></script>
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
<script>
$(document).on('ready', function () {
// initialization of password strength module
$('.js-pwstrength').each(function () {
var pwstrength = $.HSCore.components.HSPWStrength.init($(this));
});
});
</script>
Basic examples
Modal example
Methods
Parameters | Description | Default value |
---|---|---|
template |
Mask data | null |