$ui/dv/my-dv-page

页面组件

Source:

Members

(inner) props

Source:
Properties:
Name Type Attributes Default Description
lock Boolean <optional>

缩放锁定比例

scale Boolean <optional>
true

开启自动缩放

width Number <optional>
1920

原始宽度

height Number <optional>
1080

原始高度

activeIndex Number <optional>

初始展示的场景索引,有MyDvScreen子组件才有效

target string | function <optional>
body

页面的参照目标元素,默认是body,支持css选择器,有一个特殊值parent取组件的父节点

config object <optional>

页面配置对象 {color, textColor, fill, colors} ,提供给子组件调用

fit boolean <optional>

自动适应父容器尺寸,设置后 width height 的参数失效

fullscreen boolean <optional>

显示全屏切换按钮

属性参数