Alert
Interface representing the Alert class.
Properties
content String
Defines the content to be displayed within the alert.
Default:
""
cssClass String
Defines CSS classes to customize the appearance of alert.
Default: ""
enableRtl Boolean
Defines whether to render the component in right to left direction.
Default: false
enableState Boolean
Specifies whether to persist the state of the control between page loads.
Default: false
locale String
Specifies the culture and localization value for this control, overriding the globally defined value.
Default: en-US
severity String Severity
Defines the severity of the alert. Depending on the specified severity, the icon and colors will be rendered accordingly.
Default: Normal
showCloseIcon Boolean
Defines whether the show or hide the close icon in the alert. When true the close icon is displayed on the right edge of the alert. When clicked the alert will be closed.
Default: false
showIcon Boolean
Specifies whether to show or hide the icon representing the severity in the alert. When true the icon is displayed to the left of the content.
Default: true
variant String Variant
Specifies the variant that controls the appearance of the alert.
Default: Variant.Text
visible Boolean
Specifies whether the alert is visible to the user or not.
Default: true
Events
closed EmitType<AlertCloseEventArgs>
Event callback that is raised when the alert is closed.
created EmitType<CreatedEventArgs>
Event callback that is raised when the control has been created.
destroyed EmitType<Object>
Event callback that is raised when the control has been destroyed.