API
Class

PageImpl ($UI/wxsys/lib/base/pageImpl)

使用范围:WX

Contents

class PageImpl ($UI/wxsys/lib/base/pageImpl) extends Eventable

页面基类

Constructor Top

  PageImpl ()

Properties Top

CompSet $compRefs

组件集

Methods Top

Component comp (String id)
Array<Component> comps (String id)
void show (string message, string type, integer duration)

Constructor details Top

public PageImpl ()

页面基类

Properties Detail Top

public CompSet $compRefs

组件集

Methods Detail Top

public Component comp (String id)

获取组件

Parameters

String id

组件标识

Return Value

Component

public Array<Component> comps (String id)

获取组件列表

Parameters

String id

组件标识

Return Value

Array<Component>

public void show (string message, string type, integer duration)

显示toptips

Parameters

string message

提示信息

string type

类型,取值范围:success、info、warn

integer duration

显示时间,单位毫秒,默认:3000

Return Value

void