Skip to content

格式

typescript
Screen.width

所属类: Screen

描述

(只读)屏幕窗口的当前宽度(以像素为单位)。

参数

参数名类型描述

返回值

类型描述
number

代码示例