Skip to content

IReadOnlyObservableCollection

Andrei Fangli edited this page Jul 4, 2021 · 7 revisions
API / IReadOnlyObservableCollection<TItem> interface

Represents a read-only observable collection based on the read-only array interface.

Extends readonly TItem[], INotifyPropertiesChanged and INotifyCollectionChanged<TItem>.

interface IReadOnlyObservableCollection<TItem> extends Readonly<TItem[]>, INotifyPropertiesChanged, INotifyCollectionChanged<TItem>

Template Parameters

  • TItem: the type of items the collection contains.

Methods

  • toArray: converts the observable collection to a native JavaScript Array.
Clone this wiki locally