KeyValueDifferFactory

interface

npm Package @angular/core
Module import { KeyValueDifferFactory } from '@angular/core';
Source core/src/change_detection/differs/keyvalue_differs.ts

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