2023-12-01 changelog
Stable release of panel and modal checker methods in Web SDK
The ability to open panels and modals is already supported in the Web SDK. With this stable release, you can now check if there are blocking elements before attempting to open a panel in or modal in the UI.
This release includes two new methods in the Web SDK:
miro.board.ui.canOpenPanel()
miro.board.ui.canOpenModal()
Checks if there are blocking elements before attempting to open a panel in the UI.
Panels that are already open from other sources can block these requests. It's recommended to check using miro.board.ui.canOpenPanel()
before using miro.board.ui.openPanel()
.
Checks if there are blocking elements before attempting to open a modal in the UI. It's recommended to check using miro.board.ui.canOpenModal()
before using miro.board.ui.openModal()
.
For more details on these new methods, refer to our documentation on Board UI methods.