view-split
v1.0.2
Published
通过鼠标拖动分割线,可自由调整区域大小
Downloads
5
Readme
参数说明
- arrow:切割方向(默认:leftRight)
- leftRight:左右
- topBottom:上下
- mainSize:主区域
左右/上下
的宽/高
大小(默认:50%) - dragend:拖动停止后回调,返回值:主区域宽度值
- minSize:切割左右/上下最小宽/高(默认:100px)
- barColor:拖拽条颜色(默认:#f1f3f4)
- barActiveColor:拖拽条选中时颜色(默认:#dee1e6)