devmark / angular-slick-carousel

Angular directive for slick-carousel
http://devmark.github.io/angular-slick-carousel/
MIT License
353 stars 125 forks source link

Option "centerPadding" not working. #125

Open truongle7793 opened 7 years ago

truongle7793 commented 7 years ago

i try to add centerPadding to my slick config but it doing nothing. $scope.slickConfig = { enabled: true, autoplay: true, slidesToShow: 1, dots: true, infinite: false, centerMode: true, centerPadding: '100px', initialSlide: 3, variableWidth: true, arrows: true, method: {}, }; for now i add margin css for the .slick-slide class but is there otherway ?