获取屏幕高度、宽度
screen系列
- availHeight 返回显示屏幕的高度 (除 Windows 任务栏之外)。
- availWidth 返回显示屏幕的宽度 (除 Windows 任务栏之外)。
- height 返回显示屏幕的高度。
- width 返回显示器屏幕的宽度。
示例
screen.height
示例
screen.height
1763
2万+
6344

被折叠的 条评论
为什么被折叠?