Pārlūkot izejas kodu

doc: Popconfirm doc update (#18324)

iamkun 5 gadi atpakaļ
vecāks
revīzija
590d7b8356

+ 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 | 点击取消按钮时触发 | — |