For Panel Messages, the following attributes are available:

AttributeTypeInfoDefault value
textstringThe text that would be displayed in the panel message.none
typestringAvailable values: info, success, warning, errornone


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.