Home > mp > MiniProgramBusListeners
Signature:
export declare interface MiniProgramBusListeners
Property | Type | Description |
---|---|---|
appError | Defined<WechatMiniprogram.App.Options<{}>[‘onError’]> | |
appHide | Defined<WechatMiniprogram.App.Options<{}>[‘onHide’]> | |
appLaunch | Defined<WechatMiniprogram.App.Options<{}>[‘onLaunch’]> | |
appShow | Defined<WechatMiniprogram.App.Options<{}>[‘onShow’]> | |
appThemeChange | Defined<WechatMiniprogram.App.Options<{}>[‘onThemeChange’]> | |
appUnhandledRejectionThrow | Defined<WechatMiniprogram.App.Options<{}>[‘onUnhandledRejection’]> | |
currentPageAddToFavorites | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onAddToFavorites’]> | |
currentPageHide | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onHide’]> | |
currentPagePullDownRefresh | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onPullDownRefresh’]> | |
currentPageReachBottom | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onReachBottom’]> | |
currentPageReady | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onReady’]> | |
currentPageResize | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onResize’]> | |
currentPageShareAppMessage | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShareAppMessage’]> | |
currentPageShareTimeline | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShareTimeline’]> | |
currentPageShow | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShow’]> | |
currentPageTabItemTap | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onTabItemTap’]> | |
currentPageUnload | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onUnload’]> | |
pageAddToFavorites | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onAddToFavorites’]> | |
pageHide | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onHide’]> | |
pageLoad | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onLoad’]> | |
pageNotFound | Defined<WechatMiniprogram.App.Options<{}>[‘onPageNotFound’]> | |
pagePullDownRefresh | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onPullDownRefresh’]> | |
pageReachBottom | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onReachBottom’]> | |
pageReady | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onReady’]> | |
pageResize | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onResize’]> | |
pageShareAppMessage | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShareAppMessage’]> | |
pageShareTimeline | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShareTimeline’]> | |
pageShow | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onShow’]> | |
pageTabItemTap | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onTabItemTap’]> | |
pageUnload | Defined<WechatMiniprogram.Page.Options<{}, {}>[‘onUnload’]> | |
routeChange | (payload: MiniProgramBusRouteChangePayload) => any |