mirror of
				https://github.com/CaramelFur/Picsur.git
				synced 2025-10-31 09:25:48 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			719 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			719 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();
 | |
|   }
 | |
| }
 |