Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ListEvent<T>

Event emitted by an IList<T> implementation when a range of values is inserted or deleted.

Type Parameters

  • T

Hierarchy

Index

Properties

index: number

The index of the first affected value. Collectively, the values have indices index through index + values.length - 1.

For ListEventsRecord.Delete events, this is the former index of the first deleted value.

Metadata for the update that caused this event.

positions: string[]

The positions corresponding to values.

values: T[]

The affected values, in list order.

Generated using TypeDoc