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