Files
oa/documentation/plugins/slider/slider-merging-documentation.md
2025-05-24 01:49:48 +09:00

917 B

state
state
value merge
20
50
70
10

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>