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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/IterableDifferFactory