IterableDiffers
A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
class IterableDiffers {
static create(factories: IterableDifferFactory[], parent?: IterableDiffers): IterableDiffers
static extend(factories: IterableDifferFactory[]): StaticProvider
constructor(factories: IterableDifferFactory[])
find(iterable: any): IterableDifferFactory
}
Provided in
-
'root'
Static methods
create() | ||||||
---|---|---|---|---|---|---|
Parameters
Returns |
extend() | |||
---|---|---|---|
Takes an array of |
|||
Parameters
Returns |
|||
Usage NotesExampleThe 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
|
Constructor
Methods
find() |
---|