You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
670 B
23 lines
670 B
9 years ago
|
---
|
||
|
category: Components
|
||
|
chinese: 标签
|
||
9 years ago
|
type: Views
|
||
9 years ago
|
english: Tag
|
||
|
---
|
||
9 years ago
|
|
||
9 years ago
|
进行标记和分类的小标签。
|
||
|
|
||
|
## 何时使用
|
||
|
|
||
|
- 用于标记事物的属性和维度。
|
||
|
- 进行分类。
|
||
|
|
||
|
## API
|
||
|
|
||
9 years ago
|
| 参数 | 说明 | 类型 | 默认值 |
|
||
|
|----------------|-------------------------------|------|--------|
|
||
|
| closable | 标签是否可以关闭 | boolean | false |
|
||
|
| onClose | 关闭时的回调 | function(event) | - |
|
||
9 years ago
|
| afterClose | 关闭动画完成后的回调 | function(event) | - |
|
||
9 years ago
|
| color | 标签的色彩:`blue` `green` `yellow` `red` | string | - |
|