# Bootstrap 4 Password Strength Meter Example - Extra Css Classes for the Progress Bar

Password

    jQuery(document).ready(function () {
        "use strict";
        var options = {};
        options.ui = {
            container: "#pwd-container",
            showVerdictsInsideProgressBar: true,
            viewports: {
                progress: ".pwstrength_viewport_progress"
            },
            progressBarExtraCssClasses: "progress-bar-striped progress-bar-animated"
        };
        options.common = {
            debug: true,
            onLoad: function () {
                $('#messages').text('Start typing password');
            }
        };
        $(':password').pwstrength(options);
    });

Go back