SCROLL_ACCELERATION |
number
|
acceleration for scroll, min value make the scrolling smoothly |
BOUNDRY_CHECK_DURATION |
number
|
duration for boundry bounce |
BOUNDRY_CHECK_EASING |
number
|
easing for boundry bounce |
BOUNDRY_CHECK_ACCELERATION |
number
|
acceleration for boundry bounce |
lockX |
boolean
|
just like overflow-x:hidden |
lockY |
boolean
|
just like overflow-y:hidden |
scrollbarX |
boolean
|
config if the scrollbar-x is visible |
scrollbarY |
boolean
|
config if the scrollbar-y is visible |
useTransition |
boolean
|
config if use css3 transition or raf for scroll animation |
useOriginScroll |
boolean
|
config if use simulate or origin scroll |
bounce |
boolean
|
config if use has the bounce effect when scrolling outside of the boundry |
boundryCheck |
boolean
|
config if scrolling inside of the boundry |
preventDefault |
boolean
|
prevent touchstart |
preventTouchMove |
boolean
|
prevent touchmove |
container |
string
|
HTMLElement
|
config for scroller's container which default value is ".xs-container" |
content |
string
|
HTMLElement
|
config for scroller's content which default value is ".xs-content" |
indicatorInsets |
object
|
config scrollbars position {top: number, left: number, bottom: number, right: number} |
stickyElements |
string
|
config for sticky-positioned elements |
fixedElements |
string
|
config for fixed-positioned elements |
touchAction |
string
|
config for touchAction of the scroller |