disableTransitions Method

Summary

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

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

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.

Requirements

Target Platforms

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

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.