Adding documention from UI.Dialog to DialogHandler class

This commit is contained in:
Alex Jerabek
2018-05-21 11:45:52 -07:00
parent 94e8c22ab3
commit d43c45aaa3
+5 -1
View File
@@ -403,7 +403,11 @@ declare namespace Office {
*/
close(): void;
/**
* Adds an event handler for DialogMessageReceived or DialogEventReceived
* Registers an event handler. The two supported events are:
*
* - DialogMessageReceived. Triggered when the dialog box sends a message to its parent.
*
* - DialogEventReceived. Triggered when the dialog box has been closed or otherwise unloaded.
*/
addEventHandler(eventType: Office.EventType, handler: Function): void;