<template>
<Multipane class="foo" layout="vertical">
<div :style="{ width: '100px', maxWidth: '200px' }">Pane 1</div>
<MultipaneResizer></MultipaneResizer>
<div :style="{ width: '25%', maxWidth: '50%' }">Pane 2</div>
<MultipaneResizer></MultipaneResizer>
<div :style="{ flexGrow: 1 }">Pane 3</div>
</Multipane>
</template>
<script>
import { Multipane, MultipaneResizer } from "vue-multipane";
export default {
components: {
MultiPane,
MultiPaneResizer,
},
};
</script>
<style lang="scss" scoped>
.multipane.foo.layout-v .multipane-resizer {
margin: 0;
left: 0;
width: 15px;
background: blue;
}
.multipane.foo.layout-h .multipane-resizer {
margin: 0;
top: 0;
height: 15px;
background: blue;
}
</style>