vue3-split-panel @vtian
npm install @vtian/vue3-split-panelSplit-Pane component built with vue2.0, can be split vertically or horizontally.
``bash
npm install vue-splitpane
#import
import splitPane from 'vue-splitpane'
$3
`html
v-on:resize="resize"
:min-percent="20"
:default-percent="30"
split="vertical"
>
A
B
``html
//nested
v-on:resize="resize"
:min-percent="20"
:default-percent="30"
split="vertical"
>
A
B
C
``| Property | Description | type | default |
| ----------- | --------------------- | :--------------------------: | :------------------: |
| split | the split type | String [horizontal,vertical] | must choose one type |
| min-percent | paneL max-min-percent | Number | 10 |
| max-percent | paneL max-percent | Number | 10 |