elementsUpdated Event (ImageViewer)

Summary

Occurs anytime the viewer changes any DOM or CSS property on an element that is part of view or any item

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype,'elementsUpdated',  
	get: function(), 
	set: function(value) 
) 
function elementsUpdated.add(function(sender, e)); 
function elementsUpdated.remove(function(sender, e)); 
TypeScript Syntax
elementsUpdated: void;

Remarks

This event also contains the ImageViewerElementsUpdatedEventArgs.IsTransitionsEnabled property that can be used to detect when the image viewer is performing a CSS transition. For example, the document viewer uses this event to stop custom painting of the annotations while a CSS transition is in effect.

Refer to Image Viewer Elements Mode for more information.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eImageViewerElementsUpdatedEventArgsThe event data.
Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize