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.