The only purpose of this property is to adapt a List to the data model that is used by ListView and FlipView. Removes one or more listeners from the notification list for a given property. Removes elements from a list and, if necessary, inserts new elements in their place, returning the deleted elements. It does not create a new list object during execution. This method sorts the elements of a list object in place. Removes the first element from a list and returns it.Įxtracts a section of a list and returns a new list.Ĭhecks whether the specified callback function returns true for any element of a list. ![]() Replaces the value at the specified index with a new value. This method reverses the elements of a list object in place. Returns a list with the elements reversed. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.Īccumulates a single result by calling the specified callback function for all elements in a list, starting with the last member of the list. Removes the last element from a list and returns it.Īppends new element(s) to a list, and returns the new length of the list.Īccumulates a single result by calling the specified callback function for all elements in a list. Notifies listeners that a property value was updated.įorces the list to send a itemmutated notification to any listeners for the value at the specified index.įorces the list to send a reload notification to any listeners. Moves the value at index to the specified position. Gets the index of the last occurrence of the specified value in a list.Ĭalls the specified callback function on each element of a list, and returns an array that contains the results. Returns a string consisting of all the elements of a list separated by the specified separator string. Gets the index of the first occurrence of a key in a list. Gets the index of the first occurrence of the specified value in a list. Gets a key/data pair for the list item key specified. Gets a key/data pair for the specified list index. Returns the elements of a list that meet the condition specified in a callback function.Ĭalls the specified callback function for each element in a list. (Call this method on the projection, not the underlying .)Ĭhecks whether the specified callback function returns true for all elements in a list. It's only important to call this method when the projection and the have different lifetimes. Raises an event of the specified type and with additional properties.ĭisconnects a projection from its underlying. ![]() As the list changes, the sorted projection reacts to those changes and may also change. groups property, which is a List representing the groups that were found in the list.Ĭreates a live sorted projection over this list. The grouped projection sorts all the elements of the list to be in group-contiguous order. As the list changes, the grouped projection reacts to those changes and may also change. As the list changes, the filtered projection reacts to those changes and may also change.Ĭreates a live grouped projection over this list. Returns a new list consisting of a combination of two arrays.Ĭreates a live filtered projection over this list. The implementation of this function coalesces change notifications, such that multiple updates to a property value may result in only a single call to the specified action. It is not guaranteed that the action will be called only when a value has actually changed, nor is it guaranteed that the action will be called for every value change. This function is invoked when the value of the property may have changed. Links the specified action to the property specified in the name parameter. The List object has these types of members: Provides methods to search, sort, filter, and manipulate the data. ![]() Represents a list of objects that can be accessed by index or by a string key.
0 Comments
Leave a Reply. |