【angularjs】使用angular搭建项目,滚动距离

常用方法

  • 滚动到顶部:$ionicScrollDelegate.scrollTop();或者$ionicScrollDelegate.$getByHandle('视图句柄').scrollTop();
  • 滚动到该视图的位置:$ionicScrollDelegate.$getByHandle('视图句柄').getScrollPosition();

 

 

 

 

 

 

 

 

 

相关资料

 http://www.ionic.wang/js_doc-index-id-30.html

posted on 2018-05-08 16:04  smile轉角  阅读(209)  评论(0编辑  收藏  举报

导航