ui-carousel icon indicating copy to clipboard operation
ui-carousel copied to clipboard

how disable autoscroll on click dot or arrows

Open illuska812 opened this issue 8 years ago • 1 comments

How can i stop autoscroll when dot or arrow was clicked?

illuska812 avatar Oct 27 '17 08:10 illuska812

try doing so:

<ui-carousel on-after-change="singleAfter(currentSlide)" 
 autoplay="condition">

$scope.sigleAfter = function(current) {
    if (current == 1) {
         $scope.condition = false;
   }
}

ivanferrer avatar Oct 30 '17 19:10 ivanferrer