angular / 4 / api / core / keyvaluedifferfactory.html

KeyValueDifferFactory

interface

Interface Overview

interface KeyValueDifferFactory { 
  supports(objects: any): boolean
  create<K, V>(): KeyValueDiffer<K, V>
}

Description

Provides a factory for KeyValueDiffer.

Members

supports(objects: any): boolean

Test to see if the differ knows how to diff this kind of object.

create<K, V>(): KeyValueDiffer<K, V>

Create a KeyValueDiffer.

Overloads

create<K, V>(_cdr?: ChangeDetectorRef): KeyValueDiffer<K, V>

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/KeyValueDifferFactory