ngx-mat-lib
Version:
A bunch of utilities and components to use in your Angular 7+ apps!
23 lines (22 loc) • 879 B
TypeScript
import { AfterViewInit, OnInit } from "@angular/core";
import { MatDialogRef } from "@angular/material";
import { XmatAlertDialogActions } from "../../models/xmat-alert-dialog.model";
import { XmatAlertDialogData } from "../../models/xmat-alert-dialog.model";
/**
* TODO: check in ngx-popper how to pass tplRef content
*/
export declare class XmatAlertDialogComponent implements OnInit, AfterViewInit {
private _dialogRef;
data: XmatAlertDialogData;
xmatBtnPrimary: any;
md: any;
private _confirmStyles;
private _cancelStyles;
/**
* TODO: add dynamic template binding, that would be really cool and reusable
*/
constructor(_dialogRef: MatDialogRef<XmatAlertDialogComponent>, data: XmatAlertDialogData);
ngOnInit(): void;
ngAfterViewInit(): void;
onActionClick(action: XmatAlertDialogActions): void;
}