@fillah wrote:
Hey guys.
Since ion-slide-box will be removed in the next update of ionic, i'm trying to achieve the same thing with my ion-slides.
I've created a ng-repeat inside my ion-slide where the data is being displayed and added a ng-click="nextSlide()" to it. But when i click on it, nothing happens. I want to click on an item and then switch to the next slide instead of clicking the bullets in the bottom of the page.
<ion-slides options="{pagination: false}" slider="data.slider"> <ion-slide-page> <div class="list"> <div class="item" ng-repeat="cat in cats" ng-click="nextSlide()"> {{cat.title}} </div> </div> </ion-slide-page> <ion-slide-page> <p>hello</p> </ion-slide-page> </ion-slides>
Posts: 1
Participants: 1