import { MtxAlertModule } from '@ng-matero/extensions/alert';
MtxAlert
Selector: [mtx-alert]
[mtx-alert]
Exported as: mtxAlert
mtxAlert
Properties
Name
Description
@Input() type: 'default' \| 'info' \| 'success' \| 'warning' \| 'danger'
type: 'default' \| 'info' \| 'success' \| 'warning' \| 'danger'
The alert types. Defaulted to default.
default
@Input() isOpen: boolean
isOpen: boolean
Whether alert visible. Defaulted to true.
true
@Input() dismissible: boolean
dismissible: boolean
Whether displays an inline close button.
@Input() elevation: number
elevation: number
The material elevation for alert. Defaulted to 0.
0
@Output() closed: EventEmitter<MtxAlertComponent>
closed: EventEmitter<MtxAlertComponent>
This event fires when alert closed.
Last updated 4 years ago