docs: update version tag
This commit is contained in:
+21
-21
@@ -135,12 +135,12 @@ export default {
|
||||
|
||||
### ContactCard Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| type | Can be set to `add` `edit` | *string* | `add` | - |
|
||||
| name | Name | *string* | - | - |
|
||||
| tel | Phone | *string* | - | - |
|
||||
| add-text | Add card text | *string* | `Add contact info` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type | Can be set to `add` `edit` | *string* | `add` |
|
||||
| name | Name | *string* | - |
|
||||
| tel | Phone | *string* | - |
|
||||
| add-text | Add card text | *string* | `Add contact info` |
|
||||
|
||||
### ContactCard Events
|
||||
|
||||
@@ -150,12 +150,12 @@ export default {
|
||||
|
||||
### ContactList Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Id of chosen contact | *string \| number* | - | - |
|
||||
| list | Contact list | *Contact[]* | `[]` | - |
|
||||
| add-text | Add button text | *string* | `Add new contact` | - |
|
||||
| default-tag-text | Default tag text | *string* | - | 2.3.0 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Id of chosen contact | *string \| number* | - |
|
||||
| list | Contact list | *Contact[]* | `[]` |
|
||||
| add-text | Add button text | *string* | `Add new contact` |
|
||||
| default-tag-text `v2.3.0` | Default tag text | *string* | - |
|
||||
|
||||
### ContactList Events
|
||||
|
||||
@@ -168,15 +168,15 @@ export default {
|
||||
|
||||
### ContactEdit Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| contact-info | Contact Info | *object* | `[]` | - |
|
||||
| is-edit | Whether is editing | *boolean* | `false` | - |
|
||||
| is-saving | Whether to show save button loading status | *boolean* | `false` | - |
|
||||
| is-deleting | Whether to show delete button loading status | *boolean* | `false` | - |
|
||||
| tel-validator | The method to validate tel | *(tel: string) => boolean* | - | - |
|
||||
| show-set-default | Whether to show default contact switch | *boolean* | `false` | 2.3.0 |
|
||||
| set-default-label | default contact switch label | *string* | - | 2.3.0 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| contact-info | Contact Info | *object* | `[]` |
|
||||
| is-edit | Whether is editing | *boolean* | `false` |
|
||||
| is-saving | Whether to show save button loading status | *boolean* | `false` |
|
||||
| is-deleting | Whether to show delete button loading status | *boolean* | `false` |
|
||||
| tel-validator | The method to validate tel | *(tel: string) => boolean* | - |
|
||||
| show-set-default `v2.3.0` | Whether to show default contact switch | *boolean* | `false` |
|
||||
| set-default-label `v2.3.0` | default contact switch label | *string* | - |
|
||||
|
||||
### ContactEdit Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user