onDiffChange Method

Summary

Callback function that will be triggered whenever the CompareView's differences set has changed.

Syntax
TypeScript
JavaScript
CompareView.prototype.onDiffChange = function( 
   diff 
) 
onDiffChange( 
   diff: DocumentDifference 
): void; 

Parameters

diff

Active differences for the CompareView.

Remarks

The default value is null. Add a callback function here to be notified when the diff set has changed. This is a good place to hook up any UI updates that depend on the diff set.

Requirements

Target Platforms

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly