Custom start position for ion-scroll


#1

I know I can give the ion-content the start-y attribute and it will start the page at an offset. But when I try to do the same for a different ion-scroll it does not seem to work. Any thoughts?


#2

set the attribute delegate-handle to your ion-scroll
after that use
http://ionicframework.com/docs/api/service/$ionicScrollDelegate/

$ionicScrollDelegate.$getByHandle('NAMEHERE');

to get your scroller.
Than you can use the scrollTo(left, top, [shouldAnimate]) function