已弃用: v4.0.0 - Should not be part of public API.
构造函数
属性
属性 | 说明 |
---|
length: number | 只读 |
collection: V[] | Iterable<V> | null | 只读 |
isDirty: boolean | 只读 |
方法
|
---|
forEachItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachItem(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
forEachOperation(fn: (item: IterableChangeRecord<V>, previousIndex: number, currentIndex: number) => void)
forEachOperation(fn: (item: IterableChangeRecord<V>, previousIndex: number, currentIndex: number) => void)
参数 |
|
---|
forEachPreviousItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachPreviousItem(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
forEachAddedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachAddedItem(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
forEachMovedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachMovedItem(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
forEachRemovedItem(fn: (record: IterableChangeRecord_<V>) => void)
forEachRemovedItem(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
forEachIdentityChange(fn: (record: IterableChangeRecord_<V>) => void)
forEachIdentityChange(fn: (record: IterableChangeRecord_<V>) => void)
参数 fn | (record: IterableChangeRecord_) => void | |
|
|
---|
onDestroy()
onDestroy()
参数没有参数。 |
|
---|
check(collection: NgIterable<V>): boolean
参数返回值boolean
|