API
Component

Page ($UI/wxsys/comps/page/page)

使用范围:WX

Contents

component Page ($UI/wxsys/comps/page/page) extends Component

页面

Constructor Top

  Page ()
  Page ( config)

Static Properties & Enumerations Top

String EVENT_HIDE = "hide"

页面隐藏

String EVENT_LOAD = "load"

页面加载

String EVENT_LOADED = "loaded"

页面加载完成

String EVENT_PAGE_SCROLL = "pageScroll"

页面滚动

String EVENT_PULL_DOWN_REFRESH = "pullDownRefresh"

页面下拉动作

String EVENT_REACH_BOTTOM = "reachBottom"

页面上拉触底

String EVENT_READY = "ready"

页面初次渲染完成

String EVENT_SHARE_APP_MESSAGE = "shareAppMessage"

点击右上角转发

String EVENT_SHOW = "show"

页面显示

String EVENT_UNLOAD = "unload"

页面卸载

Methods Top

Object refresh ()

Operations Top

Object refresh ()

Events Top

void hide (Event event)
void load (LoadEvent event)
void loaded (Event event)
void pageScroll (Event event)
void pullDownRefresh (Event event)
void reachBottom (Event event)
void ready (Event event)
void shareAppMessage (Event event)
void show (Event event)
void unload (Event event)

Constructor details Top

public Page ()

页面

public Page ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Static Properties & Enumerations Detail Top

static public String EVENT_HIDE = "hide"

页面隐藏

static public String EVENT_LOAD = "load"

页面加载

static public String EVENT_LOADED = "loaded"

页面加载完成

static public String EVENT_PAGE_SCROLL = "pageScroll"

页面滚动

static public String EVENT_PULL_DOWN_REFRESH = "pullDownRefresh"

页面下拉动作

static public String EVENT_REACH_BOTTOM = "reachBottom"

页面上拉触底

static public String EVENT_READY = "ready"

页面初次渲染完成

static public String EVENT_SHARE_APP_MESSAGE = "shareAppMessage"

点击右上角转发

static public String EVENT_SHOW = "show"

页面显示

static public String EVENT_UNLOAD = "unload"

页面卸载

Methods Detail Top

public Object refresh ()

页面刷新

Return Value

Object

Operations Detail Top

public Object refresh ()

页面刷新

Return Value

Object

Events Detail Top

public void hide (Event event)

页面隐藏

Parameters

Event event

Return Value

void

public void load (LoadEvent event)

页面加载

Parameters

LoadEvent event

Return Value

void

public void loaded (Event event)

页面加载完成

Parameters

Event event

Return Value

void

public void pageScroll (Event event)

页面滚动

Parameters

Event event

Return Value

void

public void pullDownRefresh (Event event)

页面下拉动作

Parameters

Event event

Return Value

void

public void reachBottom (Event event)

页面上拉触底

Parameters

Event event

Return Value

void

public void ready (Event event)

页面初次渲染完成

Parameters

Event event

Return Value

void

public void shareAppMessage (Event event)

点击右上角转发

Parameters

Event event

Return Value

void

public void show (Event event)

页面显示

Parameters

Event event

Return Value

void

public void unload (Event event)

页面卸载

Parameters

Event event

Return Value

void