Readonly
canWhether the object can redo changes.
Readonly
canWhether the object can undo changes.
Readonly
changedA signal emitted when the list has changed.
Readonly
isReadonly
typeThe type of this object.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Remove and return the value at a specific index.
The index of the value of interest.
The value at the specified index, or undefined
if the
index is out of range.
Constant.
Iterators pointing at the removed value and beyond are invalidated.
An index
which is non-integral.
Remove a range of items from the list.
The start index of the range to remove (inclusive).
The end index of the range to remove (exclusive).
The new length of the list.
Linear.
Iterators pointing to the first removed value and beyond are invalid.
A startIndex
or endIndex
which is non-integral.
Remove the first occurrence of a value from the list.
The value of interest.
The index of the removed value, or -1
if the value
is not contained in the list.
Linear.
Iterators pointing at the removed value and beyond are invalidated.
An observable list that supports undo/redo.