mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #30105 from Rick-Kirkham/office-js-fix-messageParent
Office js fix message parent
This commit is contained in:
Vendored
+2
-2
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user