@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Class CollectionListenerEvent<T_model>

    Events emitted after a collection is modified.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Accessors

    • get count(): number

      The number of documents after the change

      Returns number

    • get documents(): DocumentData[]

      All the firestore documents

      Returns DocumentData[]

    • get empty(): boolean

      True if the collection is empty

      Returns boolean

    • get isInitial(): boolean

      True if it's the first event emitted by the listener

      Returns boolean

    • get models(): T_model[]

      All the models

      Returns T_model[]

    • get source(): "server" | "local"

      Source of the document change

      Returns "server" | "local"