소스 검색

doc: Popconfirm doc update (#18324)

iamkun 5 년 전
부모
커밋
590d7b8356
4개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      examples/docs/en-US/popconfirm.md
  2. 6 0
      examples/docs/es/popconfirm.md
  3. 6 0
      examples/docs/fr-FR/popconfirm.md
  4. 6 0
      examples/docs/zh-CN/popconfirm.md

+ 6 - 0
examples/docs/en-US/popconfirm.md

@@ -52,3 +52,9 @@ You can customise Popconfirm like:
 | Name | Description |
 |--- | ---|
 | reference | HTML element that triggers Popconfirm |
+
+### Events
+| Event Name | Description | Parameters |
+|---------|--------|---------|
+| onConfirm | triggers when click confirm button | — |
+| onCancel | triggers when click cancel button | — |

+ 6 - 0
examples/docs/es/popconfirm.md

@@ -52,3 +52,9 @@ You can customise Popconfirm like:
 | Name | Description |
 |--- | ---|
 | reference | HTML element that triggers Popconfirm |
+
+### Events
+| Event Name | Description | Parameters |
+|---------|--------|---------|
+| onConfirm | triggers when click confirm button | — |
+| onCancel | triggers when click cancel button | — |

+ 6 - 0
examples/docs/fr-FR/popconfirm.md

@@ -52,3 +52,9 @@ You can customise Popconfirm like:
 | Name | Description |
 |--- | ---|
 | reference | HTML element that triggers Popconfirm |
+
+### Events
+| Event Name | Description | Parameters |
+|---------|--------|---------|
+| onConfirm | triggers when click confirm button | — |
+| onCancel | triggers when click cancel button | — |

+ 6 - 0
examples/docs/zh-CN/popconfirm.md

@@ -52,3 +52,9 @@ Popconfirm 的属性与 Popover 很类似,因此对于重复属性,请参考
 | 参数 | 说明 |
 |--- | ---|
 | reference | 触发 Popconfirm 显示的 HTML 元素 |
+
+### Events
+| 事件名称 | 说明 | 回调参数 |
+|---------|--------|---------|
+| onConfirm | 点击确认按钮时触发 | — |
+| onCancel | 点击取消按钮时触发 | — |