UNPKG

vue-auto-track

Version:

auto tracking for vue

31 lines (30 loc) 548 B
// 页面生命周期 export const PageLifeCycle = { onLoad() {}, onShow() {}, onReady() {}, onHide() {}, onUnload() {}, onPullDownRefresh() {}, onReachBottom() {}, onTabItemTap() {}, onShareAppMessage() {}, onPageScroll() {} } // 应用生命周期 export const AppLifeCycle = { onLaunch() {}, onShow() {}, onHide() {} } // vue生命周期 export const VueLifeCycle = { beforeCreate() {}, created() {}, beforeMount() {}, mounted() {}, beforeUpdate() {}, updated() {}, beforeDestroy() {}, destroyed() {} }