@ng-zi/extensions-alert
v0.0.2
Published
Angular Material Extensions for Alert
Downloads
6
Keywords
Readme
Alert
API reference for Material Extensions Alert
import { MtxAlertModule } from '@ng-zi/extensions/alert';
Directives
MtxAlert
Selector: [mtx-alert]
Exported as: mtxAlert
Properties
| 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 aliases
MtxAlertType
type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';