mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 01:12:30 +09:00
first
This commit is contained in:
47
documentation/button/v-button-addons-documentation.md
Normal file
47
documentation/button/v-button-addons-documentation.md
Normal file
@@ -0,0 +1,47 @@
|
||||
### Addons
|
||||
|
||||
You can easily create `<VButton />` addons and group them together
|
||||
by wrapping them inside a `<div class="field is-grouped"><div>` element.
|
||||
You can mix any button styles.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VField addons>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-left">
|
||||
Left
|
||||
</VButton>
|
||||
</VControl>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-center">
|
||||
Center
|
||||
</VButton>
|
||||
</VControl>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-right">
|
||||
Right
|
||||
</VButton>
|
||||
</VControl>
|
||||
</VField>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VField addons>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-left"> Left </VButton>
|
||||
</VControl>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-center"> Center </VButton>
|
||||
</VControl>
|
||||
<VControl>
|
||||
<VButton icon="fas fa-align-right"> Right </VButton>
|
||||
</VControl>
|
||||
</VField>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user