Office.VisibilityMode enum
Visibility mode of the add-in.
Remarks
Examples
Office.onReady(() => {
Office.addin.onVisibilityModeChanged((args) => {
if (args.visibilityMode === Office.VisibilityMode.taskpane) {
// Do something when the task pane is visible.
}
});
// Other startup tasks.
});
Fields
hidden = 'Hidden' | UI is hidden. |
taskpane = 'Taskpane' | Displayed as a task pane. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins