mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 08:53:29 +09:00
first
This commit is contained in:
41
documentation/field/v-field-addon-start-documentation.md
Normal file
41
documentation/field/v-field-addon-start-documentation.md
Normal file
@@ -0,0 +1,41 @@
|
||||
### Start addons
|
||||
|
||||
Inputs can have addons if you need to show contextual information.
|
||||
You can attach an addon at the start of a `<VField />` with the `addons`
|
||||
prop. See markup for more details about usage.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<VField addons>
|
||||
<VControl>
|
||||
<VButton static>
|
||||
+1
|
||||
</VButton>
|
||||
</VControl>
|
||||
<VControl expanded>
|
||||
<VInput
|
||||
type="text"
|
||||
class="input"
|
||||
placeholder="Username"
|
||||
/>
|
||||
</VControl>
|
||||
</VField>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<VField addons>
|
||||
<VControl>
|
||||
<VButton static>+1</VButton>
|
||||
</VControl>
|
||||
<VControl expanded>
|
||||
<VInput type="text" class="input" placeholder="Username" />
|
||||
</VControl>
|
||||
</VField>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user