Open nitishkumarnitc opened 6 years ago
I handle it by adding this to lib
$scope.$watch('ctrl.show', function (nVal, oVal) { if(nVal !== oVal) { _this.options.slidesToShow = nVal; if (_this.options.slidesToScroll > nVal) { _this.options.slidesToScroll = nVal; } _this.refreshCarousel(); } });
Next in your controller you can simply setup value of slides-to-show depends of screen size.
I handle it by adding this to lib
Next in your controller you can simply setup value of slides-to-show depends of screen size.