Add DialogOptions.promptBeforeOpen

This commit is contained in:
Alex Jerabek
2018-11-28 13:59:00 -08:00
parent 4f1b2db0c4
commit 6a96d327ac
+7
View File
@@ -1157,6 +1157,13 @@ declare namespace Office {
* This is best for user experience and performance.
*/
displayInIframe?: boolean
/**
* Determines if the pop-up blocker dialog will be shown to the user. Defaults to true.
*
* `true` - The framework displays a pop-up to trigger the navigation and avoid the browser's pop-up blocker.
* `false` - The dialog will not be shown and the developer will handle pop-ups (usually by providing a user artifact to trigger the navigation).
*/
promptBeforeOpen?: boolean;
/**
* A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult object that is passed to a callback.
*/