Scrollable view area. A view group that allows the view hierarchy placed within it to be scrolled. When using vertical scrolling, you need to give the scroll view a fixed height.
Bug & Tip
tip: The priority of scroll-into-view is higher than that of scroll-top.
tip: Scrolling in the scroll-view will prevent the page from bouncing back, so scrolling in the scroll-view cannot trigger onpulldownrefresh.
tip: To use the pull-down refresh, please use the scroll of the page instead of the scroll-view, so that you can return to the top of the page by clicking the status bar at the top.
|Allow lateral scrolling|
|Allow vertical scrolling|
|Set vertical scroll bar position|
|Set horizontal scroll bar position|
|The value should be the ID of a child element (ID cannot start with a number). Set which direction to scroll, then scroll to the element in which direction|
|When it is far from the top / left, the scrolltupper event is triggered|
|When it is far from the bottom / right, the scrollcolor event is triggered|
|Enable the scroll view enhancement feature. After enabling, you can operate scroll view through ScrollViewContext|
|Sliding deceleration rate control (effective after the enhanced attribute is turned on at the same time)|
|Enabled when enhanced:true, control the scrollbar show/hide|
|Enable pull-down refresh, support from jssdk >= 4.9.0|
|refresher threshold to trigger refresh (in px), support from jssdk >= 4.9.0|
|refresher default style, support from jssdk >= 4.9.0 options: black, white, none|
|refresher background style, support from jssdk >= 4.9.0|
|is refresher triggered, support from jssdk >= 4.9.0|