vue-orient
概述
基于 Vue.js 设置移动端 h5 显示方向(横屏或者竖屏)。
配置
属性 | 说明 | 类型 | 必填 | 可选值 | 默认值 |
---|---|---|---|---|---|
orientation | 横屏或者竖屏 | String | 否 | portrait / landscape | portrait |
desc | 提示信息 | String | 否 | - | 为了更好的体验,请使用竖屏浏览 |
调用
; components: VueOrient ;
作者
SuperIron
基于 Vue.js 设置移动端 h5 显示方向(横屏或者竖屏)。
属性 | 说明 | 类型 | 必填 | 可选值 | 默认值 |
---|---|---|---|---|---|
orientation | 横屏或者竖屏 | String | 否 | portrait / landscape | portrait |
desc | 提示信息 | String | 否 | - | 为了更好的体验,请使用竖屏浏览 |
; components: VueOrient ;
SuperIron
npm i vue-orient
1
1.0.6
MIT
72.4 kB
4