IterableDifferFactory

Provides a factory for IterableDiffer.

interface IterableDifferFactory { supports(objects: any): boolean create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V> }

方法

supports(objects: any): boolean

参数

objects

Type: any.

返回值

boolean

create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V>

参数

trackByFn

Type: TrackByFunction.

可选. 默认值是 undefined.

返回值

IterableDiffer<V>