scrollTo list item?


#1

Hi,

If I have long list of items. Is there a way to trigger to focus to a specific list of items? (i mean scroll automatically to specific item on the list).
Let say, i have 100 items in the list.
And have a button to focus 80th item on the list when user clicks (should auto scroll and focus that item)

I know that with ionScroll (http://ionicframework.com/docs/api/directive/ionScroll/) we have ScrollTo() method, but for generic list, is there an easy way to do it?

Thanks!


#2

Any one??? scroll to an item?


#3

I don’t know if you still need this, but I came up with this directive that allows you to easily do that: