@angular-material-extensions/dialogs
Version:
Set of prebuilt extended angular material dialogs as components | simple API and easy to use
22 lines (21 loc) • 640 B
TypeScript
import { OnInit } from '@angular/core';
import { MatDialogRef } from '@angular/material';
export declare type AlertType = 'primary' | 'accent' | 'warn';
export interface MatAlertDialogData {
title?: string;
icon?: string;
type?: string;
message: string;
okTextButton?: string;
}
export declare class MatAlertDialog implements OnInit {
dialogRef: MatDialogRef<MatAlertDialog>;
data: MatAlertDialogData;
title: string;
icon: string;
type: string;
message: string;
okTextButton: string;
constructor(dialogRef: MatDialogRef<MatAlertDialog>, data: MatAlertDialogData);
ngOnInit(): void;
}