category | type | title | cover | coverDark |
---|---|---|---|---|
Components |
Data Display |
Tag |
Tag for categorizing or markup.
- It can be used to tag by dimension or property.
- When categorizing.
Property | Description | Type | Default | Version |
---|---|---|---|---|
closable | Whether the Tag can be closed | boolean | false |
|
closeIcon | Custom close icon | VNode | slot | - | 2.0.0 |
color | Color of the Tag | string | - | |
icon | Set the icon of tag | VNode | slot | - | 2.0.0 |
bordered | Whether has border style | boolean | true |
4.x |
Events Name | Description | Arguments |
---|---|---|
close | Callback executed when tag is closed | (e) => void |
Property | Description | Type | Default |
---|---|---|---|
checked(v-model) | Checked status of Tag | boolean | false |
Events Name | Description | Arguments |
---|---|---|
change | Callback executed when Tag is checked/unchecked | (checked) => void |