code
How to open a message modal is independent of the framework in use. Note that you need to import showMessage from the core package @siemens/ix.
showMessage provides multiple pre-configured messages:
- info
- warning
- error
- success
- question
The showMessage method returns a Listener with the following signature:
TypedEvent<{
actionId: string;
payload: T;
}>;
actionId represents the configured action button.