How to Add Notification in SCA

The SCA contains a module for the notification which is GlobalViewsMessageView.We can add notifications like errors and success messages using the module.

The Example is added below

First, we need to define GlobalViewsMessageView the module

The Example code to show the notification of Success message is added below

alert.show(placeholder, 6000);

The 6000 is an indication of how much time will need to appear.The example shows 6 seconds

Leave a comment

Your email address will not be published. Required fields are marked *