office-js-preview add DialogParentMessageReceivedEventArgs (#43271)

* add DialogParentMessageReceivedEventArgs

* review changes

* review changes
This commit is contained in:
Rick-Kirkham
2020-03-20 13:46:32 -07:00
committed by GitHub
parent a94ee28b62
commit a3903ecc90
+19
View File
@@ -5104,6 +5104,25 @@ declare namespace Office {
*/
type: EventType;
}
/**
* Provides information about the message from the parent page that raised the `DialogParentMessageReceived` event.
*
* @beta
*
* To add an event handler for the `DialogParentMessageReceived` event, use the `addHandlerAsync` method of the
* {@link Office.UI} object.
*
*/
interface DialogParentMessageReceivedEventArgs {
/**
* Gets the content of the message sent from the parent page, which can be any string or stringified data.
*/
message: string;
/**
* Get an {@link Office.EventType} enumeration value that identifies the kind of event that was raised.
*/
type: EventType;
}
/**
* Represents a slice of a document file. The Slice object is accessed with the `File.getSliceAsync` method.
*/