"use strict";const e={data(){return{mescroll:null}},onPullDownRefresh(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll(l){this.mescroll&&this.mescroll.onPageScroll(l)},onReachBottom(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit(l){this.mescroll=l,this.mescrollInitByRef()},mescrollInitByRef(){if(!this.mescroll||!this.mescroll.resetUpScroll){let l=this.$refs.mescrollRef;l&&(this.mescroll=l.mescroll)}},downCallback(){this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout(()=>{this.mescroll.endSuccess()},500)},upCallback(){setTimeout(()=>{this.mescroll.endErr()},500)}},mounted(){this.mescrollInitByRef()}};exports.MescrollMixin=e;
