screenfull.js监听页面全屏变换

 mounted () {
    screenfull && screenfull.isEnabled && screenfull.onchange(() => {
      this.isfull= !this.isfull;
    })
  },

 

posted @ 2022-09-08 09:18  bomdeyada  阅读(185)  评论(0编辑  收藏  举报