Merge pull request #30105 from Rick-Kirkham/office-js-fix-messageParent

Office js fix message parent
This commit is contained in:
Daniel Rosenwasser
2018-10-29 14:10:39 -07:00
committed by GitHub
+2 -2
View File
@@ -1070,9 +1070,9 @@ declare namespace Office {
displayDialogAsync(startAddress: string, options?: DialogOptions, callback?: (result: AsyncResult<Dialog>) => void): void;
/**
* Delivers a message from the dialog box to its parent/opener page. The page calling this API must be on the same domain as the parent.
* @param messageObject Accepts a message from the dialog to deliver to the add-in.
* @param message Accepts a message from the dialog to deliver to the add-in. In addition to a boolean, anything that can serialized to a string including JSON and XML can be sent.
*/
messageParent(messageObject: any): void;
messageParent(message: boolean | string): void;
/**
* Closes the UI container where the JavaScript is executing.
*