We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a113717 + c6b4ccc commit 2527eceCopy full SHA for 2527ece
1 file changed
docs/bom/navigator.md
@@ -140,7 +140,7 @@ Screen 对象表示当前窗口所在的屏幕,提供显示设备的信息。`
140
- `Screen.availWidth`:浏览器窗口可用的屏幕宽度(单位像素)。
141
- `Screen.pixelDepth`:整数,表示屏幕的色彩位数,比如`24`表示屏幕提供24位色彩。
142
- `Screen.colorDepth`:`Screen.pixelDepth`的别名。严格地说,colorDepth 表示应用程序的颜色深度,pixelDepth 表示屏幕的颜色深度,绝大多数情况下,它们都是同一件事。
143
-- `Screen.orientation`:返回一个对象,表示屏幕的方向。该对象的`type`属性是一个字符串,表示屏幕的具体方向,`landscape-primary`表示横放,`landscape-secondary`表示颠倒的横放,`portrait-primary`表示竖放,`portrait-secondary`。
+- `Screen.orientation`:返回一个对象,表示屏幕的方向。该对象的`type`属性是一个字符串,表示屏幕的具体方向,`landscape-primary`表示横放,`landscape-secondary`表示颠倒的横放,`portrait-primary`表示竖放,`portrait-secondary`表示颠倒的竖放。
144
145
下面是`Screen.orientation`的例子。
146
0 commit comments