Modal Window Operations in TabContext
You can perform Modal Window operations on Global Context, and browser Tab context.
To perform window operation in another tab, use getTabContext
with browser
ID.
Note: You can perform the window operation on a particular tab by getting the tab
context of a tab by providing the browser tab ID. Window operations are supported in
the browser tab's tab context only, they aren't supported in MSI Tab. Use the
getCurrentBrowserContext
API to get the tabContext for the MCA
floating toolbar window.The following example shows the syntax for the getTabContext
method:
getModalWindowContext(): Promise<IModalWindowContext>;