modifiers/aspectRatio

This module forces elements to be resized with a specified dx/dy ratio.

Source:
interact(target).resizable({
  modifiers: [
    interact.modifiers.snapSize({
      targets: [ interact.createSnapGrid({ x: 20, y: 20 }) ],
    }),
    interact.aspectRatio({ ratio: 'preserve' }),
  ],
});