滑动布局组件
Members
(inner) props
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
type |
string |
<optional> |
horizontal(默认)/vertical |
edageWidth |
number |
<optional> |
左侧(横向)/上方(纵向) 的默认宽/高度占比(百分比,5-95) |
range |
array |
<optional> |
左侧(横向)/上方(纵向) 的宽/高度占比范围(百分比,5-95) |
属性参数
(inner) slots
Properties:
Name | Type | Description |
---|---|---|
odd |
string | 左边/上边插槽 |
even |
string | 右边/下边插槽 |
插槽
Events
on-ready
布局宽高定义好后触发
on-resize
布局拖动时触发
Parameters:
Name | Type | Description |
---|---|---|
定义宽高变化的html节点 |
HtmlDom |