Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

How to know whether particular record is in local or updated in firebase? #83

@nshiva

Description

@nshiva

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?

Could you help me in implementing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions