ng-diff-match-patch-att
Version:
A Diff-Match-Patch component for your Angular 6+ applications
14 lines (13 loc) • 478 B
TypeScript
import { ElementRef, OnInit, OnChanges } from '@angular/core';
import { DiffMatchPatchService } from './diffMatchPatch.service';
export declare class SemanticDiffDirective implements OnInit, OnChanges {
private el;
private dmp;
left: string | number | boolean;
right: string | number | boolean;
constructor(el: ElementRef, dmp: DiffMatchPatchService);
ngOnInit(): void;
ngOnChanges(): void;
private updateHtml();
private createHtml(diffs);
}