How to use

Copy-paste the stylesheet <link> into your <head> to load the CSS.

              
                <link rel="stylesheet" href="../assets/vendor/daterangepicker/daterangepicker.css">
              
            

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

              
                <script src="../assets/vendor/daterangepicker/moment.min.js"></script>
                <script src="../assets/vendor/daterangepicker/daterangepicker.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 daterangepicker
                    $('.js-daterangepicker').each(function () {
                      var d = $.HSCore.components.HSDaterangepicker.init($(this));
                    });
                  });
                </script>
              
            

Basic example

Dropup

Auto apply

With time picker

Initially empty

Predefined with Readonly

With arrow

Modal example