cordova - $anchorScroll in Ionic 2? Scroll to element with ID -


any way $anchorscroll in ionic 2/angular2 of angular 1.x?

trying scroll element on page. tried ng2-page-scroll https://github.com/nolanus/ng2-page-scroll

not sure if m doing right, followed through tutorial , got error:

parseerror: 'import' , 'export' may appear 'sourcetype: module' 

i think doesnt work latest ionic 2 release anymore. wish there's easier way of doing it, work around?

i in same situation, wanted scroll next page/element each click of button.

i looked @ same options mentioned, , found in ion-slides (http://ionicframework.com/docs/v2/api/components/slides/slides/), can set direction 'vertical', did trick me.

don't know if can use case.

otherwise, can content, , scrollto function. http://ionicframework.com/docs/v2/api/components/content/content/


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -