Am looking for something similar to scrollIntoView() within Ionic2 to use when I click on a button, for example.
None of the methods detailed in ion-content help.
I was trying to do this in Ionic 3 and due to the fact that was returning10 (the padding on the top of the element) instead of the distance to the top of the page (much larger unknown number) I ending up just using , which worked well for me.
To get the object I used document.getElementById(), but there are many other options on how to get a handle on that.