Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
office-runtime package
Interfaces
Interface that contains methods for checking API requirement-set support.
Interface that contains authorization related APIs.
Provides options for the user experience when Office obtains an access token to the add-in from AAD v. 2.0 with the getAccessToken method.
Object representing the dialog box.
Provides display options and actions a dialog box may take.
Asynchronous, global, and persistent key-value storage.
Functions
Function that enables a pop up web dialog box.
Function Details
OfficeRuntime.displayWebDialog(url, options)
Function that enables a pop up web dialog box.
export function displayWebDialog(url: string, options?: DisplayWebDialogOptions): Promise<Dialog>;
Parameters
- url
-
string
Must be a string.
Optional parameter. Must be of type DisplayWebDialogOptions.
Returns
Promise<OfficeRuntime.Dialog>
Remarks
Office Add-ins