Class Overview
class IterableDiffers {staticcreate(factories: IterableDifferFactory[], parent?: IterableDiffers) : IterableDiffers
staticextend(factories: IterableDifferFactory[]) : Provider
constructor(factories: IterableDifferFactory[])
}
Class Description
A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
Static Members
create(factories: IterableDifferFactory[], parent?: IterableDiffers) : IterableDiffers
extend(factories: IterableDifferFactory[]) : ProviderTakes an array of IterableDifferFactory and returns a provider used to extend the
inherited IterableDiffers instance with the provided factories and return a new
IterableDiffers instance.
The following example shows how to extend an existing list of factories,
which will only be applied to the injector for this component and its children.
This step is all that's required to make a new IterableDiffer available.
exported from @angular/core/index, defined in @angular/core/src/change_detection/differs/iterable_differs.ts