IListEvents
Type interface
Defines events for the List.
Sources
IListEvents is an interface: it describes a shape of data and is not imported on its own.
Properties
insertedType { newValue:
A}Invoked when item is added to the list.
insertIndexType { index:
number, newValue:A}Invoked when
insertIndexmethod is called.removedType { oldValue:
A}Invoked when item is removed from the list.
removeIndexType { index:
number, oldValue:A}Invoked when item is removed.
setAllType { newArray:
Array<A>, oldArray:Array<A> }Invoked when
setAllmethod is called.setIndexType { index:
number, newValue:A, oldValue:A}Invoked when
setIndexmethod is called.