使用范围: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 | onHide () | |
void | onLoad (Any options) | |
void | onPageScroll () | |
void | onPullDownRefresh () | |
void | onReachBottom () | |
void | onReady () | |
void | onShareAppMessage () | |
void | onShow () | |
void | onUnload () | |
void | show (string message, string type, integer duration) |
Constructor details
Top
public
PageImpl
()
页面基类
public
PageImpl
()
页面基类
Properties Detail Top
组件集
Methods Detail Top
获取组件
获取组件列表
public
void
onHide
()
监听页面隐藏(子类重载)
public
void
onLoad
(Any options)
监听页面加载(子类重载)
public
void
onPageScroll
()
监听页面滚动触发(子类重载)
public
void
onPullDownRefresh
()
监听用户下拉动作(子类重载)
public
void
onReachBottom
()
监听页面上拉触底(子类重载)
public
void
onReady
()
监听页面初次渲染完成(子类重载)
public
void
onShareAppMessage
()
监听用户点击右上角转发(子类重载)
public
void
onShow
()
监听页面显示(子类重载)
public
void
onUnload
()
监听页面卸载(子类重载)
public
void
show
(string message, string type, integer duration)
显示toptips