I am using angularfire2-offline in my application. I am storing array of students objects.
some thing similar to
students: AfoListObservable<any[]>;
students = afoDatabase.list('/students');
On the UI,
<button ion-item *ngFor="let patient of studnets | async" >{{student.name}} - {{student.age}}</button>
I would like to display some icon on this button based on whether particular student object is updated in firebase or not?
if there is a change on that student node the observable would fire-up asynchronously and both the GUI and the local-storage would be updated on that change.
I am using angularfire2-offline in my application. I am storing array of students objects. some thing similar to
On the UI,
<button ion-item *ngFor="let patient of studnets | async" >{{student.name}} - {{student.age}}</button>
I would like to display some icon on this button based on whether particular student object is updated in firebase or not?Could you help me in implementing this?