diff --git a/one/docs/components/alert-box.md b/one/docs/components/alert-box.md index 1e9f4cd..38cdd95 100644 --- a/one/docs/components/alert-box.md +++ b/one/docs/components/alert-box.md @@ -63,7 +63,8 @@ | 名称 | 描述 | | -- | -- | | ``ok`` | 点击“知道了”按钮触发。 | -| ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 弹框打开后触发。弹框内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | +| ``afterclose`` | 弹框关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | ### 图标 diff --git a/one/docs/components/confirm-box.md b/one/docs/components/confirm-box.md index 74acb6f..5c24547 100644 --- a/one/docs/components/confirm-box.md +++ b/one/docs/components/confirm-box.md @@ -44,4 +44,5 @@ | -- | -- | | ``ok`` | 点击“确定”按钮时触发。 | | ``cancel`` | 点击“取消”按钮时触发。 | -| ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 弹框打开后触发。弹框内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | +| ``afterclose`` | 弹框关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | diff --git a/one/docs/components/dialog.md b/one/docs/components/dialog.md index b93606f..42a5bd6 100644 --- a/one/docs/components/dialog.md +++ b/one/docs/components/dialog.md @@ -135,7 +135,8 @@ methods: { | ``ok`` | 点击“确定”按钮时或通过调用作用域函数 `close('ok')` 时触发。 | | ``cancel`` | 点击“取消”按钮、关闭按钮、通过 esc 关闭对话框时,或者通过调用作用域函数 `close('cancel')` 时触发。 | | <value> | 通过调用作用域函数 `close(value)` 时触发。 | -| ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 对话框打开后触发。对话框内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | +| ``afterclose`` | 对话框关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | ### 图标 diff --git a/one/docs/components/drawer.md b/one/docs/components/drawer.md index 43d2b05..bf38e2c 100644 --- a/one/docs/components/drawer.md +++ b/one/docs/components/drawer.md @@ -99,4 +99,5 @@ | ``ok`` | 点击“确定”按钮时或通过调用作用域函数 `close('ok')` 时触发。 | | ``cancel`` | 点击“取消”按钮、关闭按钮、通过 esc 关闭抽屉时,或者通过调用作用域函数 `close('cancel')` 时触发。 | | <value> | 通过调用作用域函数 `close(value)` 时触发。 | -| ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 抽屉打开后触发。抽屉内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | +| ``afterclose`` | 抽屉关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | diff --git a/one/docs/components/overlay.md b/one/docs/components/overlay.md index 6c1511c..588e11a 100644 --- a/one/docs/components/overlay.md +++ b/one/docs/components/overlay.md @@ -96,7 +96,7 @@ | 名称 | 描述 | | -- | -- | | ``locate`` | 浮层定位发生变化时触发。 | -| ``afteropen`` | 浮层打开后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 浮层打开后触发。浮层内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | | ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | ### 全局配置 diff --git a/one/docs/components/prompt-box.md b/one/docs/components/prompt-box.md index b6d8107..1193f7c 100644 --- a/one/docs/components/prompt-box.md +++ b/one/docs/components/prompt-box.md @@ -55,7 +55,8 @@ | ``input`` | [^event-input] | | ``ok`` | 点击“确定”按钮时触发。 | | ``cancel`` | 点击“取消”按钮时触发。 | -| ``afterclose`` | 浮层关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | +| ``afteropen`` | 弹框打开后触发。弹框内容在打开后才会进行渲染,所以如果有依赖内容渲染的逻辑,请在此事件触发后再执行。 | +| ``afterclose`` | 弹框关闭后触发。如果样式主题提供了退出动画,将在退出动画完毕后触发。 | ^^^event-input :::badges diff --git a/one/docs/en-US/components/alert-box.md b/one/docs/en-US/components/alert-box.md index 181c30e..bbc2b7e 100644 --- a/one/docs/en-US/components/alert-box.md +++ b/one/docs/en-US/components/alert-box.md @@ -63,6 +63,7 @@ The contextual type of the alert box. | Name | Description | | -- | -- | | ``ok`` | Triggered when the “OK” button is clicked. | +| ``afteropen`` | Triggered after the box overlay is opened. The box content won't be rendered until after the overlay is opened, so if there is logic that depends on content rendering, please execute it after this event is triggered. | | ``afterclose`` | Triggered after the box overlay is closed. If leaving transition is provided by the theme, the event will be triggered after the transition completes. | ### Icons diff --git a/one/docs/en-US/components/confirm-box.md b/one/docs/en-US/components/confirm-box.md index 99e52a2..a41df0a 100644 --- a/one/docs/en-US/components/confirm-box.md +++ b/one/docs/en-US/components/confirm-box.md @@ -44,4 +44,5 @@ Whether the confirm box is displayed. | -- | -- | | `ok` | Triggered when the “OK” button is clicked. | | `cancel` | Triggered when the “Cancel” button is clicked. | +| ``afteropen`` | Triggered after the box overlay is opened. The box content won't be rendered until after the overlay is opened, so if there is logic that depends on content rendering, please execute it after this event is triggered. | | `afterclose` | Triggered after the box overlay is closed. If leaving transition is provided by the theme, the event will be triggered after the transition completes. | diff --git a/one/docs/en-US/components/dialog.md b/one/docs/en-US/components/dialog.md index 0a85584..0ec24c5 100644 --- a/one/docs/en-US/components/dialog.md +++ b/one/docs/en-US/components/dialog.md @@ -109,9 +109,9 @@ methods: { | Name | Description | | -- | -- | -| `default` | The content of the dialog. | -| `title` | The title of the dialog. Will ignore the [`title`](#props-title) prop if this slot is specified. | -| `foot` | [^slot-foot] | +| ``default`` | The content of the dialog. | +| ``title`` | The title of the dialog. Will ignore the [`title`](#props-title) prop if this slot is specified. | +| ``foot`` | [^slot-foot] | ^^^slot-foot The foot of the dialog. Displays “OK” and “Cancel” buttons by default. @@ -128,10 +128,11 @@ The foot of the dialog. Displays “OK” and “Cancel” buttons by default. | Name | Description | | -- | -- | -| `ok` | Triggered after the “OK” button is clicked or the dialog is closed with the slot scope function call `close('ok')`. | -| `cancel` | Triggered after the “Cancel” button or the close button is clicked, or esc is pressed, or the dialog is closed with the slot scope function call `close('cancel')`. | +| ``ok`` | Triggered after the “OK” button is clicked or the dialog is closed with the slot scope function call `close('ok')`. | +| ``cancel`` | Triggered after the “Cancel” button or the close button is clicked, or esc is pressed, or the dialog is closed with the slot scope function call `close('cancel')`. | | <value> | Triggered when the dialog is closed with the slot scope function call `close(value)`. | -| `afterclose` | Triggered after the dialog is closed. If leave transition is provided by theme, then `afterclose` will be triggered when the transition finishes. | +| ``afteropen`` | Triggered after the dialog is opened. The dialog content won't be rendered until after the dialog is opened, so if there is logic that depends on content rendering, please execute it after this event is triggered. | +| ``afterclose`` | Triggered after the dialog is closed. If leave transition is provided by theme, then `afterclose` will be triggered when the transition finishes. | ### Icons diff --git a/one/docs/en-US/components/overlay.md b/one/docs/en-US/components/overlay.md index c3b49fd..036eee6 100644 --- a/one/docs/en-US/components/overlay.md +++ b/one/docs/en-US/components/overlay.md @@ -96,7 +96,7 @@ The style expression applied to the root element of the overlay. Supports all va | Name | Description | | -- | -- | | ``locate`` | Triggered when the overlay updated its location. | -| ``afteropen`` | Triggered after the overlay is opened. If leave transition is provided by theme, then `afteropen` will be triggered when the transition finishes. | +| ``afteropen`` | Triggered after the overlay is opened. The overlay content won't be rendered until after the overlay is opened, so if there is logic that depends on content rendering, please execute it after this event is triggered. | | ``afterclose`` | Triggered after the overlay is closed. If leave transition is provided by theme, then `afterclose` will be triggered when the transition finishes. | ### Configs diff --git a/one/docs/en-US/components/prompt-box.md b/one/docs/en-US/components/prompt-box.md index 0293c01..652e047 100644 --- a/one/docs/en-US/components/prompt-box.md +++ b/one/docs/en-US/components/prompt-box.md @@ -53,6 +53,7 @@ The value of the prompt input. | ``input`` | [^event-input] | | ``ok`` | Triggered when the “OK” button is clicked. | | ``cancel`` | Triggered when the “Cancel” button is clicked. | +| ``afteropen`` | Triggered after the box overlay is opened. The box content won't be rendered until after the overlay is opened, so if there is logic that depends on content rendering, please execute it after this event is triggered. | | ``afterclose`` | Triggered after the box overlay is closed. If leaving transition is provided by the theme, the event will be triggered after the transition completes. | ^^^event-input