Skip to content

ItemRemovedCallback

Andrei Fangli edited this page Jul 4, 2021 · 1 revision
API / ItemRemovedCallback<TItem> type

Represents an item removal callback.

type ItemRemovedCallback<TItem> = (item: TItem, index: number) => void

Template Parameters

  • TItem: the type of items the collection contains.

Parameters

  • item: TItem, the item that was removed from the collection.
  • index: Number, the index from which the item was removed.
Clone this wiki locally