IterableDifferFactory

Provides a factory for IterableDiffer.

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

方法

supports(objects: any): boolean
      
      supports(objects: any): boolean
    
参数
objects any
返回值

boolean

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

可选. 默认值是 undefined.

返回值

IterableDiffer<V>