For Panel Messages, the following attributes are available:
| Attribute | Type | Info | Default value |
|---|---|---|---|
| text | string | The text that would be displayed in the panel message. | none |
| type | string | Available values: info, success, warning, error | none |
Note
Both attributes are required!
Starting with SWAT 20.23, for the type attribute, you can also define a custom type (extending the default types list). For example, if you define a panel message and specify the type "mycustompanel" and then also define the CSS class "msg-mycustompanel" it will work.