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

28 lines
776 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 | - |
| closable | Whether Tag can be closed | boolean | `false` |
| color | Color of the Tag | string | - |
### 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 |