mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 04:22:25 +09:00
first
This commit is contained in:
61
documentation/switch-segment/switch-segment-documentation.md
Normal file
61
documentation/switch-segment/switch-segment-documentation.md
Normal file
@@ -0,0 +1,61 @@
|
||||
### VSwitchSegment
|
||||
|
||||
Vuero provides nicely styled switch segment when you need to
|
||||
display such control in your forms. Vuero `VSwitchSegment` component have
|
||||
several color modififers. Available modifiers are `primary`, `success`,
|
||||
`info`, `warning` and `danger`.
|
||||
Please refer to the markup for more details about usage.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VField horizontal>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="primary" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="success" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="info" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="warning" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="danger" :model-value="true" />
|
||||
</VControl>
|
||||
</VField>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VField horizontal>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="primary" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="success" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="info" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="warning" :model-value="true" />
|
||||
</VControl>
|
||||
<VControl subcontrol>
|
||||
<VSwitchSegment color="danger" :model-value="true" />
|
||||
</VControl>
|
||||
</VField>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user