@@ -27,7 +27,7 @@ app.use(degreePicker);
2727
2828``` vue
2929<template>
30- <degree-picker color="green" v-model="degrees" />
30+ <degree-picker active- color="green" v-model="degrees" />
3131</template>
3232
3333<script lang="ts" setup>
@@ -39,11 +39,13 @@ const degrees = ref(0);
3939
4040## 📃 Props
4141
42- | ID | Type | Default | Description |
43- | ----------- | --------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
44- | ` color ` | ` string ` | | Background color of the active value and clock hand |
45- | ` v-model ` | ` number ` | | Standard two way input |
46- | ` width ` | ` number/string ` | 290px | Sets the width of the element - can be provided as a string like "290px" or "290" or a number, defaults to 290px |
47- | ` fullWidth ` | ` boolean ` | | Ignores the previous ` width ` prop and sets the width to 100% of the parent container |
48- | ` disabled ` | ` boolean ` | | Makes the component unclickable |
49- | ` readonly ` | ` boolean ` | | Makes the component unclickable, but does not make it seem disabled |
42+ | Name | Type | Default | Description |
43+ | -------------- | --------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
44+ | ` active-color ` | ` string ` | #567a0d | Background color of the active value and clock hand |
45+ | ` body-color ` | ` string ` | #eee | Background color of the picker body |
46+ | ` v-model ` | ` number ` | | Standard two way input |
47+ | ` step ` | ` number ` | 30 | The step used for displaying the degrees |
48+ | ` width ` | ` number/string ` | 290px | Sets the width of the element - can be provided as a string like "290px" or "290" or a number, defaults to 290px |
49+ | ` full-width ` | ` boolean ` | false | Ignores the previous ` width ` prop and sets the width to 100% of the parent container |
50+ | ` disabled ` | ` boolean ` | false | Makes the component unclickable |
51+ | ` readonly ` | ` boolean ` | false | Makes the component unclickable, but does not make it seem disabled |
0 commit comments