Infinite auto scrolling list


#1

Hello Everyone.

I have just started learning Ionic and currently working on a news app prototype. Is there a way to auto scroll list items in a cycle loop? What I’m trying to implement is something like this, where I can also play and pause the auto scrolling.

My current template looks like this:

<ion-scroll>
  <ion-refresher pulling-text="Update news" on-refresh="updateNews()">
  </ion-refresher>
  <div class="list">
   <div class="item item-text-wrap list-title" collection-repeat="item in news">
    {{item.headline}} ({{item.source}})
   </div>
  </div>
 </ion-scroll>

Any feedback would be greatly appreciated! Thanks!


#2

Not sure what you mean by all of your question, but specifically to control scrolling in your view you can try using the $ionicScrollDelegate