Update Slider.vue
This commit is contained in:
parent
46c75a63a5
commit
911735280e
|
|
@ -27,6 +27,10 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
||||||
<SliderTrack class="relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20">
|
<SliderTrack class="relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20">
|
||||||
<SliderRange class="absolute h-full bg-primary" />
|
<SliderRange class="absolute h-full bg-primary" />
|
||||||
</SliderTrack>
|
</SliderTrack>
|
||||||
<SliderThumb class="block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" />
|
<SliderThumb
|
||||||
|
v-for="(_, key) in modelValue"
|
||||||
|
:key="key"
|
||||||
|
class="block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
|
||||||
|
/>
|
||||||
</SliderRoot>
|
</SliderRoot>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user