简述
该插件检测设备的横竖屏切换。
语法使用例子
| 1 2 3 4 5 6 | <plugin name="orientation"          url="orientation.js"          keep="true"         devices="HTML5"         onorientationchange="updateorientation();"         /> | 
插件属性
- onorientationchange
- 在发生横竖屏切换时可调用动作。
 数值:action的名字
- portrait
- 为true时,为竖屏状态。
 数值:true或者false,只读
- landscape
- 为true时,为横屏状态。
 数值:true或者false,只读
- orientation
- 浏览器读取的原始方向数值。
 数值:0、90、-90、180,只读