Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .directive('plick', function($timeout) {
- return function(scope, el, attrs) {
- $timeout((function() {
- el.slick({
- infinite: true,
- slidesToShow: 3,
- slidesToScroll: 1,
- limit: 6,
- adaptiveHeight: true,
- responsive: [
- {
- breakpoint: 1000,
- settings: {
- slidesToShow: 2,
- slidesToScroll: 1
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 1,
- slidesToScroll: 1
- }
- }
- ]
- })
- }), 100)
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement