core/alert/alert.model.ts
An alert is a message show to the user.
Properties |
allowHtml |
allowHtml:
|
Type : boolean
|
Optional |
Allows to display alert's text as HTML. |
detailedData |
detailedData:
|
Type : any
|
Optional |
Detailed information to display. |
onClose |
onClose:
|
Type : function
|
Optional |
Function to call if user clicks on the close button. |
onDetail |
onDetail:
|
Type : function
|
Optional |
Function to call if user clicks on the detail button. |
text |
text:
|
Type : string | TemplateRef<any>
|
The text to display. |
timeout |
timeout:
|
Type : number
|
Optional |
Timeout to auto close |
type |
type:
|
Type : "success" | "warning" | "danger" | "info" | "system"
|
The type of the alert. |