首页 > 代码库 > 点击切换全屏与退出

点击切换全屏与退出

  $(‘.ana-screen‘).bind(‘click‘, function () {
    fullScreen(‘.ana-screen‘, ‘.ana-screen-exit‘)
  })
  $(‘.ana-screen-exit‘).bind(‘click‘, function () {
    exitFullScreen(‘.ana-screen-exit‘, ‘.ana-screen‘)
  })

点击切换全屏与退出