@lfelisiak wrote:
Hi guys im having a problem that i cant figure out, i just will copy the relevants parts of code.
Problem:
When i go to the #1 slide the previous event does actually work but the
console.log
are launched twice times, this happens sometimes and sometimes only on the first time you run the app. Can anyone give me a clue of whats going on ?CODE
$scope.slideValidate = function($index){ console.log('slideHasChanged $index=' + $index); if($index === 0){ // first box } if($index === 1){ //second box $ionicSlideBoxDelegate.previous(); } if($index === 2){ // third box }
};
Posts: 1
Participants: 1