mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-03 10:45:48 +01:00
start work on customization dialog
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user