Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 1.18 KB

alert.md

File metadata and controls

23 lines (15 loc) · 1.18 KB

Alert

API reference for Material Extensions Alert

import { MtxAlertModule } from '@ng-matero/extensions/alert';

Directives

MtxAlert

Selector: [mtx-alert]

Exported as: mtxAlert

Properties

Name Description
@Input() type: 'default' \| 'info' \| 'success' \| 'warning' \| 'danger' The alert types. Defaulted to default.
@Input() isOpen: boolean Whether alert visible. Defaulted to true.
@Input() dismissible: boolean Whether displays an inline close button.
@Input() elevation: number The material elevation for alert. Defaulted to 0.
@Output() closed: EventEmitter<MtxAlertComponent> This event fires when alert closed.