enableTransitions Method (ImageViewer)

Summary

Enable updating the transformations matrices and view layout during CSS transitions.

Syntax

JavaScript Syntax
ImageViewer.prototype.enableTransitions = function()
TypeScript Syntax
enableTransitions(): 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

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