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

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

View File

@ -0,0 +1,3 @@
img {
max-width: 100%;
}

View File

@ -0,0 +1 @@
<img [src]="data" (click)="close()">

View File

@ -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();
}
}