1

I'm working with an angular project as well as I want to upload a file for firestorage. create is a component of my project.

create.component.html

<input type="file" (change)="featuredPhotoSelected($event)" />

create.component.ts

import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'ngx-create',
    templateUrl: './create.component.html',
    styleUrls: ['./create.component.scss']
})
export class CreateComponent implements OnInit {
    constructor() {}
    ngOnInit() {}
}

What should I do for this thing.

1
  • firebase storage or firestore? Commented Feb 18, 2021 at 7:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.