Programatically change ion-scroll position in ionic


#1

Hello,

I have an image inside an ion-scroll that changes in size depending on a slider.
I’d like it for the image to stay in the center. How do I programmatically change the position of the scrollbars in ionic 3?

I have seen various posts about ionic v1 but nothing about ionic 3.

Thanks!