Question: Am looking for something similar to [`scrollIntoView()`](https://developer.mozilla.org/en/docs/Web/API/Element/scrollIntoView) within Ionic2 to use when I click on a button, for example.

None of the methods detailed in [`ion-content`](http://ionicframework.com/docs/v2/api/components/content/Content/) help.

Answer: 
I was trying to do this in Ionic 3 and due to the fact that `<Element>.offsetTop` was returning`10` (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 `<Element>.scrollIntoView()`, which worked well for me.

To get the `<Element>` object I used `document.getElementById()`, but there are many other options on how to get a handle on that.
In `Ionic 4` the scroll function is renamed to `scrollToPoint()`.

![Screenshot from Ionic docs](https://i.stack.imgur.com/2uEAl.jpg)