screen:表示屏幕的信息
screen对象参考手册
1、screen.width
、screen.height
:屏幕宽高,以像素为单位;
2、screen.availWidth
、screen.availHeight
:屏幕(不包括Windows任务栏的)宽高,以像素为单位;
3、screen.colorDepth
:返回颜色位数,如8、16、24。
screen对象参考手册
1、screen.width
、screen.height
:屏幕宽高,以像素为单位;
2、screen.availWidth
、screen.availHeight
:屏幕(不包括Windows任务栏的)宽高,以像素为单位;
3、screen.colorDepth
:返回颜色位数,如8、16、24。
本文标题:screen对象
本文链接:https://www.haomeiwen.com/subject/bqrmoctx.html
网友评论