mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 11:33:42 +09:00
first
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
---
|
||||
state:
|
||||
input: 2
|
||||
---
|
||||
|
||||
### VRangeRating
|
||||
|
||||
Vuero provides number rating component with minimum styling.
|
||||
`VRangeRating` act like a radio button group, with a custom style, this means
|
||||
that you can use keyboard navigation to select the rating.
|
||||
Always wrap your inputs inside a `<VField />` and a `<VControl />`
|
||||
to build forms quickly and efficiently.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
|
||||
const input = ref(2)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VField>
|
||||
<VControl>
|
||||
<VRangeRating v-model="input" />
|
||||
</VControl>
|
||||
</VField>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VField>
|
||||
<VControl>
|
||||
<VRangeRating
|
||||
v-model="frontmatter.state.input"
|
||||
/>
|
||||
</VControl>
|
||||
</VField>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user