disableTransitions Method


Stops the viewer from updating the transformations matrices and view layout during CSS transitions.


JavaScript Syntax
ImageViewer.prototype.disableTransitions = function() 
TypeScript Syntax
disableTransitions(): void; 


This method is used only if this viewer is using Elements Mode. Refer to Image Viewer Elements Mode for more information.

Calls to DisableTransitions and EnableTransitions are accumulative. Each call to DisableTransitions must be matched with a corresponding call to EnableTransitions or else updates to the transform won't be applied.

The value of IsTransitionsEnabled can be used to detect if CSS transitions detection are in a disabled state in this viewer.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly