IterableDiffers
class
A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
class IterableDiffers {
  static ngInjectableDef: defineInjectable({...})
  static create(factories: IterableDifferFactory[], parent?: IterableDiffers): IterableDiffers
  static extend(factories: IterableDifferFactory[]): StaticProvider
  constructor(factories: IterableDifferFactory[])
  factories: IterableDifferFactory[]
  find(iterable: any): IterableDifferFactory
}   Static properties
| Property | Description | 
|---|---|
| static ngInjectableDef: defineInjectable({
    providedIn: 'root',
    factory: () => new IterableDiffers([new DefaultIterableDifferFactory()])
}) | 
Static methods
|   create()    | ||||
|---|---|---|---|---|
| 
 | 
| factories | Type:  | 
| parent | Type:  Optional. Default is  | 
Returns
|   extend()    | ||
|---|---|---|
| Takes an array of  | ||
| 
 | 
| factories | Type:  | 
Returns
Example
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.
@Component({
  viewProviders: [
    IterableDiffers.extend([new ImmutableListDiffer()])
  ]
}) Constructor
| 
 | 
| factories | Type:  | 
Properties
| Property | Description | 
|---|---|
| factories: IterableDifferFactory[] | 
Methods
|   find()    | ||
|---|---|---|
| 
 | 
| iterable | Type:  | 
Returns
    © 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
    https://v6.angular.io/api/core/IterableDiffers