Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Screen.availWidth

概述

返回浏览器窗口可占用的水平宽度(单位:像素)。

语法

window.screen.availWidth

示例

var screenAvailWidth = window.screen.availWidth;

console.log(screenAvailWidth);

规范

DOM Level 0 不属于任何标准.

文档标签和贡献者

 此页面的贡献者: teoli, AlexChao
 最后编辑者: AlexChao,