How to use

Copy-paste the following <script> near the end of your pages under JS Implementing Plugins to enable it.

              
                <script src="../assets/vendor/jquery-mask-plugin/dist/jquery.mask.min.js"></script>
              
            

Copy-paste the following <script> near the end of your pages under JS Front to enable it.

              
              
            

Copy-paste the init function under JS Plugins Init., before the closing </body> tag, to enable it.

              
                <script>
                  $(document).on('ready', function () {
                    // initialization of Input Masks
                    $('.js-masked-input').each(function () {
                      $.HSCore.components.HSMask.init($(this));
                    });
                  });
                </script>
              
            

Basic examples

Selected On Focus

Use "selectOnFocus": true

Autoclear

Use "clearIfNotMatch": true

Custom Pattern

Complite Handle

Methods

Parameters Description Default value
template Mask data null