Updated doc for closeContainer

This commit is contained in:
Jason Johnston
2017-11-06 09:42:52 -05:00
parent b67c928904
commit 29ccdc57c9
+10 -5
View File
@@ -181,11 +181,16 @@ declare namespace Office {
messageParent(messageObject: any): void;
/**
* Closes the UI container where the JavaScript is executing.
* The behavior of this method is specified by the following table.
* When called from Behavior
* A UI-less command button No effect. Any dialogs opened by displayDialogAsync will remain open.
* A taskpane The taskpane will close. Any dialogs opened by displayDialogAsync will also close. If the taskpane supports pinning and was pinned by the user, it will be un-pinned.
* A module extension No effect.
*
* Supported hosts: Outlook - Minimum requirement set: Mailbox 1.5
*
* The behavior of this method is specified by the following:
*
* Called from a UI-less command button: No effect. Any dialog opened by displayDialogAsync will remain open.
*
* Called from a taskpane: The taskpane will close. Any dialog opened by displayDialogAsync will also close. If the taskpane supports pinning and was pinned by the user, it will be un-pinned.
*
* Called from a module extension: No effect.
*/
closeContainer(): void;
}