fix: update dialog related events

This commit is contained in:
Justineo
2022-02-01 15:33:20 +08:00
parent 99b00ff3ce
commit 9d6277d215
11 changed files with 22 additions and 13 deletions

View File

@@ -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