Office.DialogParentMessageReceivedEventArgs interface

Provides information about the message from the parent page that raised the DialogParentMessageReceived event.

To add an event handler for the DialogParentMessageReceived event, use the addHandlerAsync method of the Office.UI object.

Properties

message

Gets the content of the message sent from the parent page, which can be any string or stringified data.

origin

Gets the domain of the parent page that called Dialog.messageChild.

type

Gets an Office.EventType enumeration value that identifies the kind of event that was raised.

Property Details

message

Gets the content of the message sent from the parent page, which can be any string or stringified data.

message: string;

Property Value

string

origin

Gets the domain of the parent page that called Dialog.messageChild.

origin: string | undefined;

Property Value

string | undefined

Remarks

Requirement set: DialogOrigin 1.1. The property is undefined on clients that do not support this requirement set.

type

Gets an Office.EventType enumeration value that identifies the kind of event that was raised.

type: EventType;

Property Value