Skip to content

ObservableCollection.constructor

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

Initializes a new instance of the ObservableCollection<TItem> class.

public constructor(
  items?: Iterable<TItem, any, any>
)

Source reference: src/collections/observableCollections/ObservableCollection.ts:14.

Parameters

  • items: Iterable<TItem, any, any>
    The items to initialize the collection with.
Clone this wiki locally