mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
office-js-preview add DialogParentMessageReceivedEventArgs (#43271)
* add DialogParentMessageReceivedEventArgs * review changes * review changes
This commit is contained in:
Vendored
+19
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user