28 lines
776 B
Markdown
28 lines
776 B
Markdown
|
|
||
|
|
||
|
## 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 |
|