[]
Initializes a new instance of the ObservableArray class.
Array containing items used to populate the ObservableArray.
Gets a value that indicates whether notifications are currently suspended (see beginUpdate and endUpdate).
Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.
Takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.
Suspends notifications until the next call to endUpdate.
Removes all items from the array.
Combines two or more arrays.
Additional items to add to the end of array1.
Combines two or more arrays.
Additional items to add to the end of array1.
Executes a function within a beginUpdate/endUpdate block.
The collection will not be refreshed until the function finishes. This method ensures endUpdate is called even if the function throws an exception.
Function to be executed without updates.
Resumes notifications suspended by a call to beginUpdate.
whether to end update silently i.e without raising collectionChanged event
Returns an iterable of key, value pairs for every entry in the array
Determines whether all the members of an array satisfy the specified test.
A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns the elements of an array that meet the condition specified in a callback function.
A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns the elements of an array that meet the condition specified in a callback function.
A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Performs the specified action for each element in an array.
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns true if the caller queries for a supported interface.
Name of the interface to look for.
True if the caller queries for a supported interface.
Searches for an item in the array.
Element to locate in the array.
The index where the search should start.
The index of the item in the array, or -1 if the item was not found.
Inserts an item at a specific position in the array.
Position where the item will be added.
Item to add to the array.
Adds all the elements of an array separated by the specified separator string.
A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
Returns an iterable of keys in the array
Returns the index of the last occurrence of a specified value in an array.
The value to locate in the array.
The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.
Calls a defined callback function on each element of an array, and returns an array that contains the results.
A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Tracks layout changes.
Adds one or more items to the end of the array.
The new length of the array.
Removes an item from the array.
Item to remove.
True if the item was removed, false if it wasn't found in the array.
Removes an item at a specific position in the array.
Position of the item to remove.
Reverses the elements in an Array.
Assigns an item at a specific position in the array.
Position where the item will be assigned.
Item to assign to the array.
Removes the first element from the array and returns that element.
This method changes the length of the array.
Creates a shallow copy of a portion of an array.
Position where the copy starts.
Position where the copy ends.
A shallow copy of a portion of an array.
Determines whether the specified callback function returns true for any element of an array.
A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Sorts the elements of the array in place.
Specifies a function that defines the sort order. If specified, the function should take two arguments and should return -1, +1, or 0 to indicate the first argument is smaller, greater than, or equal to the second argument. If omitted, the array is sorted in dictionary order according to the string conversion of each element.
A copy of the sorted array.
Removes and/or adds items to the array.
Position where items will be added or removed.
Number of items to remove from the array.
An array containing the removed elements.
Returns a string representation of an array. The elements are converted to string using their toLocalString methods.
Returns a string representation of an array.
Adds one or more elements to the beginning of the array and returns the new length of the array.
The new length of the array.
Returns an iterable of values in the array
Occurs when the collection changes.
Extends the ObservableArray class to track layout changes.