0
votes

I am using office.js with Angular 6 to create my add-in. I have some event listeners which is running in the background which requires the right side task to be opened or minimized. I want to restrict the users to close the task pane. Can anyone suggest either how to hide the close button or auto minimize or listening to the close event so that I can show some message to the users not to close the task pane.

Expected result is not to allow to close the right side task pane.

1

1 Answers

1
votes

At present there is no Office.js API that can hide the task pane close button, and there isn't any that can minimize the task pane. It is an interesting idea. Please go to Office Developer Suggestion Box and suggest it.

UPDATE: The new place to suggest ideas is Microsoft 365 Developer Platform Ideas.