getIconClassName MethodStatic
getIconClassName(severity)
Returns the class name corresponding to the MessageSeverity.
getIconClassName(severity: MessageSeverity): string
Parameter | Type | Description |
---|---|---|
severity | MessageSeverity | MessageSeverity |
Returns - string
getIconClassName(severity, hollow?)
Deprecated in 4.0.0. Hollow parameter ignored, WebFont is not returned, only the color.
Returns the class name associated with the WebFont icon corresponding to the MessageSeverity.
getIconClassName(severity: MessageSeverity, hollow?: boolean): string
Parameter | Type | Description |
---|---|---|
severity | MessageSeverity | MessageSeverity |
hollow | boolean | Should the icon be hollow |
Returns - string
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.