Skip to content

ObservableCollection.constructor

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

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

public constructor(
  items?: Iterable<TItem>
)

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

Parameters

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