Alert
Collaborate with us
Edit this page on GitHub
You can use the Alert UI Pattern to highlight and display important information, errors, or warnings.
How to use the Alert UI Pattern
-
In Service Studio, in the Toolbox, search for
Alert
.The Alert widget is displayed.
-
From the Toolbox, drag the Alert widget into the Main Content area of your application's screen.
-
Select the MessageText placeholder, and enter the Alert message you want to display.
-
On the Property tab, set the AlertType property. In this example, the alert type is set to error which changes the message to display in red.
After following these steps and publishing the module, you can test the pattern in your app.
Properties
Property | Description |
---|---|
AlertType (Alert Identifer): Mandatory | Select the type of alert. the predefined options are:
Examples
|
ExtendedClass (Text): Optional | Add custom style classes to the Alert UI Pattern. You define your custom style classes in your application using CSS. Examples
|