Resizable - Preserve aspect ratio


Preserve aspect ratio

About this example


Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)