import { MtxAlertModule } from '@ng-zi/extensions/alert';
Selector: [mtx-alert]
Exported as: mtxAlert
Name | Description |
---|---|
@Input() type: MtxAlertType
|
The alert's type. Default is 'default' . |
@Input() dismissible: boolean
|
Whether to display an inline close button. |
@Input() elevation: number
|
The alert's elevation (0~24). Default is 0 . |
@Output() closed: EventEmitter<MtxAlertComponent>
|
Event emitted when the alert closed. |
type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';