API
Component

ScrollView ($UI/wxsys/comps/scrollView/scrollView)

使用范围:WX

Contents

component ScrollView ($UI/wxsys/comps/scrollView/scrollView) extends Component

<b>使用场景</b>:小程序中的scroll-view组件,称为可滚动视图区域。可设置为横向滚动或纵向滚动 <b>使用方法</b>:设置为横向滚动时,必须设置空白符处理为不换行;设置为纵向滚动时,必须设置高度 ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-bu-ju-zu-4ef6-ycw/gun-dong-shi-tu.html#

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 ()

<b>使用场景</b>:小程序中的scroll-view组件,称为可滚动视图区域。可设置为横向滚动或纵向滚动 <b>使用方法</b>:设置为横向滚动时,必须设置空白符处理为不换行;设置为纵向滚动时,必须设置高度 ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-bu-ju-zu-4ef6-ycw/gun-dong-shi-tu.html#

public ScrollView ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Static Properties & Enumerations Detail Top

static public String EVENT_SCROLLING = "scrolling"

滚动

static public String EVENT_TOLOWER = "tolower"

滚动底部/右边

static public String EVENT_TOUPPER = "toupper"

滚动顶部/左边

Events Detail Top

public void scrolling (Event event)

滚动

Parameters

Event event

Return Value

void

public void tolower (Event event)

滚动底部/右边

Parameters

Event event

Return Value

void

public void toupper (Event event)

滚动顶部/左边

Parameters

Event event

Return Value

void