ant-design-vue/components/tag/index.en-US.md

30 lines
856 B
Markdown
Raw Normal View History

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 |
| -------- | ----------- | ---- | ------- |
| checked | Checked status of Tag | boolean | `false` |
### Tag.CheckableTag Events
| Events Name | Description | Arguments |
| --- | --- | --- |
| change | Callback executed when Tag is checked/unchecked | (checked) => void |