Initial commit for the Angular part. We are nowhere yet.

This commit is contained in:
Amritanshu committed 2019-06-14 00:32:34 +05:30
1 parent 1a1fa7881d
commit d59c60e81d
123 files changed
+3748 -374

No files matched your search

@@ -0,0 +1,3 @@
img {
max-width: 100%;
}
@@ -0,0 +1 @@
<img [src]="data" (click)="close()">
@@ -0,0 +1,20 @@
import {Component, Inject} from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
@Component({
selector: 'app-image-dialog',
templateUrl: './image-dialog.component.html',
styleUrls: ['./image-dialog.component.css']
})
export class ImageDialogComponent {
constructor(
public dialogRef: MatDialogRef<ImageDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: any) {
}
close(): void {
this.dialogRef.close();
}
}