@ng-zi/extensions-alert
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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';

Readme

Keywords

none

Package Sidebar

Install

npm i @ng-zi/extensions-alert

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

33.5 kB

Total Files

13

Last publish

Collaborators

  • ankitparekh