Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.01 KB

HueSlider.md

File metadata and controls

28 lines (20 loc) · 1.01 KB

HueSlider

Props

Prop Type Default Description
direction 'horizontal' | 'vertical' "horizontal" Determines the layout orientation of the component.
modelValue number 0 The hue value. The value range is [0, 360].

Events

Event Payload Description
update:modelValue number Emitted when the hue value changes.

Usage Example

<script setup>
import { HueSlider } from 'vue-color';

const hue = defineModel();
</script>

<template>
  <HueSlider v-model="hue" />
</template>