1.0.6 • Published 4 years ago
vue-orient v1.0.6
vue-orient
概述
基于 Vue.js 设置移动端 h5 显示方向(横屏或者竖屏)。
配置
属性 | 说明 | 类型 | 必填 | 可选值 | 默认值 |
---|---|---|---|---|---|
orientation | 横屏或者竖屏 | String | 否 | portrait / landscape | portrait |
desc | 提示信息 | String | 否 | - | 为了更好的体验,请使用竖屏浏览 |
调用
import VueOrient from "vue-orient";
export default {
components: {
VueOrient
}
};
作者
SuperIron