Office UI Namespace (JavaScript API for Office)

The Office UI namespace, Office.context.ui, provides objects and methods that you can use to create and manipulate UI components, such as dialog boxes, in your Office Add-ins.

Methods

Method Return Type Description
DisplayDialogAsync void Displays a dialog box in an Office host.
MessageParent void Sends a message from a dialog box to the parent add-in.

Examples

For examples, see the DisplayDialogAsync method topic.