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

29 lines
1.3 KiB
Markdown
Raw Normal View History

2018-03-22 14:17:35 +00:00
## API
### Tag
2019-09-28 12:45:07 +00:00
| Property | Description | Type | Default |
| ---------------- | --------------------------------------------------- | ---------- | ------- |
| afterClose | Callback executed when close animation is completed | () => void | - |
| closable | Whether the Tag can be closed | boolean | `false` |
| color | Color of the Tag | string | - |
| visible(v-model) | Whether the Tag is closed or not | boolean | `true` |
2018-03-22 14:17:35 +00:00
### Tag Events
2019-09-28 12:45:07 +00:00
| Events Name | Description | Arguments |
| ----------- | ------------------------------------ | ----------- |
| close | Callback executed when tag is closed | (e) => void |
2018-03-22 14:17:35 +00:00
### Tag.CheckableTag
2019-09-28 12:45:07 +00:00
| 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
2019-09-28 12:45:07 +00:00
| Events Name | Description | Arguments |
| ----------- | ----------------------------------------------- | ----------------- |
| change | Callback executed when Tag is checked/unchecked | (checked) => void |