2018-03-22 22:17:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
### Tag
|
|
|
|
|
|
|
|
| Property | Description | Type | Default |
|
|
|
|
| -------- | ----------- | ---- | ------- |
|
|
|
|
| afterClose | Callback executed when close animation is completed | () => void | - |
|
2018-09-16 21:36:22 +08:00
|
|
|
| closable | Whether the Tag can be closed | boolean | `false` |
|
2018-03-22 22:17:35 +08:00
|
|
|
| color | Color of the Tag | string | - |
|
2018-09-17 10:20:23 +08:00
|
|
|
| visible(v-model) | Whether the Tag is closed or not | boolean | `true` |
|
2018-09-16 21:36:22 +08:00
|
|
|
|
2018-03-22 22:17:35 +08:00
|
|
|
|
|
|
|
### Tag Events
|
|
|
|
| Events Name | Description | Arguments |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| close | Callback executed when tag is closed | (e) => void |
|
|
|
|
|
|
|
|
### Tag.CheckableTag
|
|
|
|
|
|
|
|
| Property | Description | Type | Default |
|
|
|
|
| -------- | ----------- | ---- | ------- |
|
|
|
|
| checked | Checked status of Tag | boolean | `false` |
|
|
|
|
|
|
|
|
### Tag.CheckableTag Events
|
|
|
|
| Events Name | Description | Arguments |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| change | Callback executed when Tag is checked/unchecked | (checked) => void |
|