IterableDifferFactory

interface

Provides a factory for IterableDiffer.

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

Methods

supports(objects: any): boolean

Parameters
objects any
Returns

boolean

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

Parameters
trackByFn TrackByFunction

Optional. Default is undefined.

Returns

IterableDiffer<V>

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/IterableDifferFactory