custom-croller-px-rem
How to use
<!-- content goes here -->
API
Scroller instance methods:
resize()
resize scroller contentDeprecated, casuse the scroller's content resizes self automatically.
triggerPullToRefresh()
start pull-to-refresh manuallyfinishPullToRefresh()
stop pull-to-refreshfinishInfinite(isNoMoreData :Boolean)
stop infinite-loadingscrollTo(x:Integer, y:Integer, animate:Boolean)
scroll to a position in scroller contentscrollBy(x:Integer, y:Integer, animate:Boolean)
scroll by a position in scroller contentgetPosition :Object
get current position of scroller content
This component is a customized edition for personal use based on "Vue-scroller". Added rem support and some other features like requesting control. Take a look at code if you have interest. I did't change too much of it.