Sha256: fb0943d5f0b841d8fc38b85d4a1aac92cee69dbc2525e69a681a77f51d92bc5f

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require_tree .

      $(document).ready(function(){
        $('.slick_slider_widget').slick({
          infinite: true,
          slidesToScroll: 1,
          slidesToShow: 5,
          autoplay: true,
          autoplaySpeed: 3000,
          dots: true,
          responsive: [
            {
              breakpoint: 768,
              settings: {
                dots: false,
                slidesToShow: 4
              }
            },
            {
              breakpoint: 480,
              settings: {
                arrows: false,
                dots: false,
                slidesToShow: 2
              }
            }
          ]
        });
      });

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scrivito_slick_slider_widget-0.0.60 app/assets/javascripts/scrivito_slick_slider_widget/application.js
scrivito_slick_slider_widget-0.0.3 app/assets/javascripts/scrivito_slick_slider_widget/application.js
scrivito_slick_slider_widget-0.0.2 app/assets/javascripts/scrivito_slick_slider_widget/application.js