Set offset ionscroll ionic


#1

Hi there,

I have an horizontal ion scroll and I would like to set the offset programatically to the right

I used to do like this in v1 but I didn’t find documentations to replicate this behavior in v1 :

$ionicScrollDelegate.$getByHandle(‘my Scroll’).scrollTo(x, y, true)}

How to do this in v2 ?? Is it also possible to add a transition ?

Thanks