mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-01 18:05:47 +01:00
27 lines
717 B
TypeScript
27 lines
717 B
TypeScript
|
|
import { Component, Inject, OnInit } from '@angular/core';
|
||
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||
|
|
import {
|
||
|
|
ConfirmDialogComponent,
|
||
|
|
ConfirmDialogData
|
||
|
|
} from 'src/app/util/util-module/confirm-dialog/confirm-dialog.component';
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'customize-dialog',
|
||
|
|
templateUrl: './customize-dialog.component.html',
|
||
|
|
styleUrls: ['./customize-dialog.component.scss'],
|
||
|
|
})
|
||
|
|
export class CustomizeDialogComponent implements OnInit {
|
||
|
|
constructor(
|
||
|
|
public dialogRef: MatDialogRef<ConfirmDialogComponent>,
|
||
|
|
@Inject(MAT_DIALOG_DATA) public data: ConfirmDialogData
|
||
|
|
) {}
|
||
|
|
|
||
|
|
ngOnInit(): void {
|
||
|
|
console.log(this.data);
|
||
|
|
}
|
||
|
|
|
||
|
|
close() {
|
||
|
|
this.dialogRef.close();
|
||
|
|
}
|
||
|
|
}
|