使用范围:WX
Contents
component ScrollView ($UI/wxsys/comps/scrollView/scrollView) extends Component
Constructor Top
ScrollView () | |||
ScrollView ( config) |
Static Properties & Enumerations Top
String |
EVENT_SCROLLING
= "scrolling"
滚动 | ||
String |
EVENT_TOLOWER
= "tolower"
滚动底部/右边 | ||
String |
EVENT_TOUPPER
= "toupper"
滚动顶部/左边 |
Events Top
void | scrolling (Event event) | |
void | tolower (Event event) | |
void | toupper (Event event) |
Constructor details
Top
public
ScrollView
()
使用场景:小程序中的scroll-view组件,称为可滚动视图区域。可设置为横向滚动或纵向滚动
使用方法:设置为横向滚动时,必须设置空白符处理为不换行;设置为纵向滚动时,必须设置高度
##
文档链接:#http://docs.newdao.net/xiao-cheng-xu-bu-ju-zu-4ef6-ycw/gun-dong-shi-tu.html#
public
ScrollView
( config)
构造函数
Inherited from Operational
public
ScrollView
()
public
ScrollView
( config)
构造函数
Inherited from Operational
Static Properties & Enumerations Detail Top
static
public
String
EVENT_SCROLLING
= "scrolling"
"scrolling"
滚动
static
public
String
EVENT_TOLOWER
= "tolower"
"tolower"
滚动底部/右边
static
public
String
EVENT_TOUPPER
= "toupper"
"toupper"
滚动顶部/左边
Events Detail Top
滚动
滚动底部/右边
滚动顶部/左边