docs: close Event description Modified and improved
parent
45c7109212
commit
dd5cb9400e
|
@ -8,7 +8,7 @@ title:
|
||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
|
|
||||||
基本标签的用法,可以通过添加 `closable` 变为可关闭标签。可关闭标签具有 `close` 两个事件。
|
基本标签的用法,可以通过添加 `closable` 变为可关闭标签。可关闭标签具有 `close` 事件。
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
Usage of basic Tag, and it could be closable by set `closable` property. Closable Tag supports `close` events.
|
Usage of basic Tag, and it could be closable by set `closable` property. Closable Tag supports `close` events.
|
||||||
|
|
|
@ -27,9 +27,9 @@ Tag for categorizing or markup.
|
||||||
|
|
||||||
### Tag Events
|
### Tag Events
|
||||||
|
|
||||||
| Events Name | Description | Arguments |
|
| Events Name | Description | Arguments |
|
||||||
| ----------- | ------------------------------------ | ----------- |
|
| --- | --- | --- |
|
||||||
| close | Callback executed when tag is closed | (e) => void |
|
| close | Callback executed when tag is closed(Default behavior can be blocked by `e.preventDefault()`) | (e) => void |
|
||||||
|
|
||||||
### Tag.CheckableTag
|
### Tag.CheckableTag
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,9 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*JPNAQYrVkYkAAA
|
||||||
|
|
||||||
### 事件
|
### 事件
|
||||||
|
|
||||||
| 事件名称 | 说明 | 回调参数 |
|
| 事件名称 | 说明 | 回调参数 |
|
||||||
| -------- | ------------ | ----------- |
|
| -------- | ---------------------------------------------------------- | ----------- |
|
||||||
| close | 关闭时的回调 | (e) => void |
|
| close | 关闭时的回调(可通过 `e.preventDefault()` 来阻止默认行为) | (e) => void |
|
||||||
|
|
||||||
### Tag.CheckableTag
|
### Tag.CheckableTag
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue