How to show message box in Open Mct #4742
Replies: 1 comment 1 reply
-
@Vaibhav2121 Hey! Good question, we have a couple different ways to go about this. We have a notification API you could use: https://github.com/nasa/openmct/blob/master/src/api/notifications/NotificationAPI.js and we also have an overlay API that could work: https://github.com/nasa/openmct/blob/master/src/api/overlays/OverlayAPI.js Notifications appear up in the top bar. Overlays appear as a window/box. Usage Examples: and
You may want to look at using the notification API as it's more informative and less blocking, but you may find the dialog method of the overalys api useful as well. Let us know what you end up with! |
Beta Was this translation helpful? Give feedback.
-
If some old data is not available . I want to show message in Open Mct through message box. How to do it.
Beta Was this translation helpful? Give feedback.
All reactions