Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.94 KB | None | 0 0
  1.     .directive('plick', function($timeout) {
  2.         return function(scope, el, attrs) {
  3.             $timeout((function() {
  4.                 el.slick({
  5.                   infinite: true,
  6.                   slidesToShow: 3,
  7.                   slidesToScroll: 1,
  8.                   limit: 6,
  9.                   adaptiveHeight: true,
  10.                   responsive: [
  11.                       {
  12.                           breakpoint: 1000,
  13.                           settings: {
  14.                               slidesToShow: 2,
  15.                               slidesToScroll: 1
  16.                           }
  17.                       },
  18.                       {
  19.                           breakpoint: 768,
  20.                           settings: {
  21.                               slidesToShow: 1,
  22.                               slidesToScroll: 1
  23.                           }
  24.                       }
  25.                   ]
  26.                 })
  27.             }), 100)
  28.         }
  29.     })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement