🖱 A Vue component for resizing with dragging
<template>
<div class="parent">
<vue-resizor v-model:indicators="indicators">
<div class="child">Child 1</div>
<div class="child">Child 2</div>
</vue-resizor>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import VueResizor, { Indicator } from 'vue-resizor'
import 'vue-resizor/styles.css'
const indicators = ref<Indicator[]>()
</script>
prop | type (range) | default value |
---|---|---|
indicators |
Indicator[] |
N/A |
size |
number (indicator width/height) |
2 |
event | type |
---|---|
'update:indicators' | Indicator[] |
1stG | RxTS | UnTS |
---|---|---|
1stG | RxTS | UnTS |
---|---|---|
Detailed changes for each release are documented in CHANGELOG.md.