OfficeRuntime: Add missing "onRuntimeError"

Add missing `onRuntimeError` to OfficeRuntime's DisplayWebDialogOptions
This commit is contained in:
Michael Zlatkovsky
2018-09-27 19:55:08 -07:00
committed by GitHub
parent 44ea6863ba
commit 8cc422d416
+6 -1
View File
@@ -118,8 +118,13 @@ declare namespace OfficeRuntime {
onClose?: () => void;
/*
* @beta
* Callback that is run when the dialog box sends an error.
* Callback that is run when the dialog sends a message to its parent.
*/
onMessage?(message: string, dialog?: Dialog): void;
/*
* @beta
* Callback that is run when the dialog box sends an error.
*/
onRuntimeError?(message: string, dialog?: Dialog): void;
}
}