Registers a callback for a dialog event.
Name | Type | Description |
---|---|---|
event | String | The dialog event to listen for. Valid options are "close". |
callback | function | The function to be invoked. |
1 2AP.dialog.create({ key: 'my-module-key' }).on("close", function() { console.log("Dialog was closed"); });
Rate this page: