mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 08:23:47 +09:00
917 B
917 B
state
| state | |||||||
|---|---|---|---|---|---|---|---|
|
Tooltip merging
The <Slider /> component can automatically merge multiple tooltips when they
reach a certain threshold. Specify a merge value and pass it to the
component's :merge prop.
<script setup lang="ts">
const value = ref([20, 50, 70])
const merge = 10
</script>
<template>
<VField v-slot="{ id }">
<VControl>
<Slider
:id="id"
v-model="value"
:merge="merge"
/>
</VControl>
</VField>
</template>