This commit is contained in:
2025-05-24 01:49:48 +09:00
commit 62abbcf4eb
2376 changed files with 325522 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
---
state:
value:
- 16
- 62
---
### Multiple handles
The `<Slider />` component can render multiple tooltips when passing an `array`
to its `v-model` property.
<!--code-->
```vue
<script setup lang="ts">
const value = ref([16, 62])
</script>
<template>
<VField v-slot="{ id }" class="has-rounded-tooltip">
<VControl>
<Slider :id="id" v-model="value" />
</VControl>
</VField>
</template>
```
<!--/code-->
<!--example-->
<div class="columns mt-2">
<div class="column is-6">
<VField v-slot="{ id }" class="pt-5 px-4 has-rounded-tooltip">
<VControl>
<Slider :id="id" v-model="frontmatter.state.value" />
</VControl>
</VField>
</div>
</div>
<!--/example-->