本文主要讲述了:

  1. 什么是document.fullscreenEnabled
  2. 作用
  3. 兼容性

正文

什么是document.fullscreenEnabled

document.fullscreenEnableddocument的属性。

作用

是否支持全屏模式。

兼容性

  • IE 11+ 使用document.msFullscreenEnabled大专栏  JavaScript中的document.fullscreenEnabledde>
  • Edge 使用document.webkitFullscreenEnabled
  • Firefox 低版本使用document.mozFullScreenEnabled(注意Screen中S的大小写)
  • Chrome 低版本使用document.webkitFullscreenEnabled

参考资料

.post-copyright {
margin: 2em 0 0;
padding: 0.5em 1em;
border-left: 3px solid #ff1700;
background-color: #f9f9f9;
list-style: none !important;
}

最新文章

  1. kernel 4.4.12 EETI eGTouch 电容屏驱动移植
  2. 多个 App 间启动
  3. angularjs表单验证checkbox
  4. 解析html并使用canvas进行渲染
  5. ASCIIHexDecode,RunLengthDecode
  6. poj2142-The Balance(扩展欧几里德算法)
  7. java、js的编码、解码
  8. [转贴]从零开始学C++之STL(二):实现一个简单容器模板类Vec(模仿VC6.0 中 vector 的实现、vector 的容量capacity 增长问题)
  9. 2017年开年的第一次比较大的安全事件: MongoDB “赎金事件”,如何看待互联网安全问题
  10. Linux下Matlab崩溃的解决方法
  11. Android 源码编译
  12. Spring Cloud Alibaba基础教程:使用Nacos作为配置中心
  13. DevOps 开源工具
  14. 使用xshell+xmanager+pycharm搭建pytorch远程调试开发环境
  15. Lock的lockInterruptibly()方法
  16. [转]MySql 5.7关键字和保留字-附表
  17. 修改ssh远程默认端口
  18. 解决node里面的中文乱码
  19. 我应该直接学 Swift,还是 Objective-C?
  20. 用HTTP协议传输媒体文件 学习

热门文章

  1. JetBrains Phpstorm 、 PyCharm 2019 最新破解码亲测可用
  2. LeetCode——199. 二叉树的右视图
  3. 静态、动态cell区别
  4. 高精度处理斐波那契序列(C语言)
  5. git clone 拉取github上面的代码报错:fatal: Authentication failed for xxx解决
  6. binary-heap(二叉堆)原理及C++代码实现
  7. window下mysql安装步骤
  8. worship|spurs|drowns out|frauds|expell|spray with|deposit|moist|gave a sigh
  9. java和javac命令
  10. javascript常用知识汇总