angularfire get new id code example
Example: angular valuechanges get id
ngOnInit() {
this.myEventList = this.firestore
.collection('eventList')
.valueChanges({ idField: 'eventId' });
}
ngOnInit() {
this.myEventList = this.firestore
.collection('eventList')
.valueChanges({ idField: 'eventId' });
}