Home > @firebase/firestore > / > DocumentChange > newIndex
DocumentChange.newIndex property
The index of the changed document in the result set immediately after this DocumentChange
(i.e. supposing that all prior DocumentChange
objects and the current DocumentChange
object have been applied). Is -1 for 'removed' events.
Signature:
readonly newIndex: number;