Handling the dialog's event callbacks
The dialog widget gives us a wide range of callback options that we can use to execute arbitrary code at different points, in any dialog interaction. The following table lists the options available to us:
Event |
Description |
---|---|
|
This is fired when the dialog is about to be closed |
|
This is fired when the dialog is closed |
|
This is fired when the dialog is initialized |
|
This is fired when the dialog is being dragged |
|
This is fired when the dialog starts being dragged |
|
This is fired when the dialog stops being dragged |
|
This is fired when the dialog receives focus |
|
This is fired when the dialog is opened |
|
This is fired when the dialog is being resized |
|
This is fired when the dialog starts to be resized |
|
This is fired when the dialog stops being resized |
Some of these callbacks are only available in certain situations, such as the...