Question : ionic scroll to item programmatically
Answered by : innocent-ibis
@ViewChild(IonContent) content: IonContent;
ScrollToBottom(){
this.content.scrollToBottom(1500);
}
ScrollToTop(){
this.content.scrollToTop(1500);
}
ScrollToPoint(X,Y){
this.content.scrollToPoint(X,Y,1500);
}
Source : https://www.freakyjolly.com/ionic-4-how-to-scroll-to-top-bottom-using-ion-content-scroll-events/ | Last Update : Sun, 01 Mar 20