'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var msdk_msdk = require('../msdk/msdk.js');
require('@babel/runtime/helpers/typeof');
require('../env/env.js');
require('../loader/little-loader.js');

/**
 * msdk 浏览器全屏方法，点击外链时可全屏，返回时退出全屏
 * @example
 * ```ts
 * mixins: [getMsdkFullScreen()],
 * ```
 */
function getMsdkFullScreen() {
  return {
    onShow: function onShow() {
      msdk_msdk.callJsSetFullScreen();
    },
    methods: {
      callJsReSetFullScreen: function callJsReSetFullScreen() {
        msdk_msdk.callJsReSetFullScreen();
      }
    }
  };
}

exports.getMsdkFullScreen = getMsdkFullScreen;
