Material Extensions
1.0.0
1.0.0
  • Home
  • Alert
  • Checkbox Group
  • Color Picker
  • Data Grid
  • Dialog
  • loader
  • popover
  • Progress
  • Select
  • Split Pane
  • Tooltip
Powered by GitBook
On this page
  • API reference for Material Extensions Alert
  • Directives

Was this helpful?

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() color: string

The alert text color.

@Input() elevation: number

The material elevation for alert. Defaulted to 0.

@Output() closed: EventEmitter<MtxAlertComponent>

This event fires when alert closed.

PreviousHomeNextCheckbox Group

Last updated 4 years ago

Was this helpful?