Skip to content

ObservableCollection.push

Andrei Fangli edited this page Sep 3, 2023 · 2 revisions

Appends new elements to the end of the collection, and returns the new length of the collection.

This is a public method.

public push(...items: readonly TItem[]): number

Parameters

  • items: readonly TItem[], new elements to add at the end of the collection.

Returns: Number

Returns the new length of the collection.

See

Clone this wiki locally