ScreenOrientation: type property
type 是 ScreenOrientation 接口的一个只读属性,它返回文档当前的屏幕方向类型,具体值为 portrait-primary、portrait-secondary、landscape-primary 或 landscape-secondary 之一。
type 是 ScreenOrientation 接口的一个只读属性,它返回文档当前的屏幕方向类型,具体值为 portrait-primary、portrait-secondary、landscape-primary 或 landscape-secondary 之一。