Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ionic scroll to item programmatically

@ViewChild(IonContent) content: IonContent;

ScrollToBottom(){
    this.content.scrollToBottom(1500);
  }
 
  ScrollToTop(){
    this.content.scrollToTop(1500);
  }
 
  ScrollToPoint(X,Y){
    this.content.scrollToPoint(X,Y,1500);
  }
Source by www.freakyjolly.com #
 
PREVIOUS NEXT
Tagged: #ionic #scroll #item #programmatically
ADD COMMENT
Topic
Name
5+6 =