Projekt

Obecné

Profil

Stáhnout (511 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import {Component, NgModule, OnInit} from '@angular/core';
2
import {MatDialogRef} from "@angular/material/dialog";
3

    
4

    
5
@Component({
6
  selector: 'app-dialog',
7
  templateUrl: './dialog.component.html',
8
  styleUrls: ['./dialog.component.scss']
9
})
10

    
11
export class DialogComponent implements OnInit {
12

    
13
  constructor(private dialog: MatDialogRef<DialogComponent>) {}
14

    
15
  ngOnInit() {
16
  }
17

    
18
  onClose() {
19
    this.dialog.close();
20
  }
21

    
22
  onSubmit() {
23
    this.dialog.close();
24
  }
25

    
26
  onClear() {
27
    this.dialog.close();
28
  }
29
}
(3-3/3)