Update folder structure

This commit is contained in:
Çetin
2021-12-28 13:29:25 +03:00
parent e0762fdeb0
commit ab8f627bb3
71 changed files with 189 additions and 193 deletions

View File

@@ -0,0 +1,21 @@
import {Component} from '@angular/core';
import {MessageService} from 'primeng/api';
@Component({
templateUrl: './file.component.html',
providers: [MessageService]
})
export class FileComponent {
uploadedFiles: any[] = [];
constructor(private messageService: MessageService) {}
onUpload(event) {
for (const file of event.files) {
this.uploadedFiles.push(file);
}
this.messageService.add({severity: 'info', summary: 'Success', detail: 'File Uploaded'});
}
}