2016-08-23 09:37:10 +08:00
|
|
|
---
|
|
|
|
category: Components
|
|
|
|
type: Views
|
|
|
|
english: Tag
|
|
|
|
---
|
|
|
|
|
|
|
|
Tag for categorizing or markuping.
|
|
|
|
|
2016-09-10 13:43:30 +08:00
|
|
|
## When To Use
|
2016-08-23 09:37:10 +08:00
|
|
|
|
|
|
|
- It can be used to tag by dimension or property.
|
|
|
|
|
|
|
|
- categorizing
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
| Property | Description | Type | Default |
|
|
|
|
|--------------|-----------------------|----------|--------------|
|
|
|
|
| closable | Tag can be closed. | boolean | false |
|
|
|
|
| onClose | Callback when tag was closed | function(event)| - |
|
|
|
|
| afterClose | Callback when closed animation is complete | function(event)| - |
|
|
|
|
| color | Tag's color: `blue` `green` `yellow` `red` | string | - |
|