disableTransitions Method

Summary

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

Syntax

JavaScript Syntax
ImageViewer.prototype.disableTransitions = function() 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly