I am using OfficeJs to create word add-in. In that i want to show modal dialog on click on ribbon button. I have used below API
Office.context.ui.displayDialogAsync(url, {height: 30, width: 20}); to display dialog but it is non-modal dialog. Is there any API to display modal dialog using officeJS.
Office.js doesn't provide any other method for displaying dialogs. From MSDN:
The following design considerations apply to dialog boxes:
Use a dialog box to:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With