Check out example codes for "ionic scroll to item programmatically". It will help you in understanding the concepts better.

Code Example 1

@ViewChild(IonContent) content: IonContent;

ScrollToBottom(){
    this.content.scrollToBottom(1500);
  }
 
  ScrollToTop(){
    this.content.scrollToTop(1500);
  }
 
  ScrollToPoint(X,Y){
    this.content.scrollToPoint(X,Y,1500);
  }

Learn ReactJs, React Native from akashmittal.com