Skip to content

Commit c6b4ccc

Browse files
authored
Update navigator.md
docs(bom): fix typo
1 parent c36af18 commit c6b4ccc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/bom/navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Screen 对象表示当前窗口所在的屏幕,提供显示设备的信息。`
140140
- `Screen.availWidth`:浏览器窗口可用的屏幕宽度(单位像素)。
141141
- `Screen.pixelDepth`:整数,表示屏幕的色彩位数,比如`24`表示屏幕提供24位色彩。
142142
- `Screen.colorDepth``Screen.pixelDepth`的别名。严格地说,colorDepth 表示应用程序的颜色深度,pixelDepth 表示屏幕的颜色深度,绝大多数情况下,它们都是同一件事。
143-
- `Screen.orientation`:返回一个对象,表示屏幕的方向。该对象的`type`属性是一个字符串,表示屏幕的具体方向,`landscape-primary`表示横放,`landscape-secondary`表示颠倒的横放,`portrait-primary`表示竖放,`portrait-secondary`
143+
- `Screen.orientation`:返回一个对象,表示屏幕的方向。该对象的`type`属性是一个字符串,表示屏幕的具体方向,`landscape-primary`表示横放,`landscape-secondary`表示颠倒的横放,`portrait-primary`表示竖放,`portrait-secondary`表示颠倒的竖放
144144

145145
下面是`Screen.orientation`的例子。
146146

0 commit comments

Comments
 (0)