ElementResizeHelper

A simple utility class offering minimal two-dimensional resizer that:

  • Uses "top" for vertical positioning
  • Uses "inset-inline-start" for horizontal positioning (logical property)
  • Adjusts width/height as well

Configs

1

Configuration object defining which resize handles to display. Set a property to false to hide the corresponding handle.

ParameterTypeDescription
topStartBoolean

Show/hide the top-start corner resize handle

topBoolean

Show/hide the top edge resize handle

topEndBoolean

Show/hide the top-end corner resize handle

endBoolean

Show/hide the end edge resize handle

bottomEndBoolean

Show/hide the bottom-end corner resize handle

bottomBoolean

Show/hide the bottom edge resize handle

bottomStartBoolean

Show/hide the bottom-start corner resize handle

startBoolean

Show/hide the start edge resize handle

Properties

1

Configuration object defining which resize handles to display. Set a property to false to hide the corresponding handle.

ParameterTypeDescription
topStartBoolean

Show/hide the top-start corner resize handle

topBoolean

Show/hide the top edge resize handle

topEndBoolean

Show/hide the top-end corner resize handle

endBoolean

Show/hide the end edge resize handle

bottomEndBoolean

Show/hide the bottom-end corner resize handle

bottomBoolean

Show/hide the bottom edge resize handle

bottomStartBoolean

Show/hide the bottom-start corner resize handle

startBoolean

Show/hide the start edge resize handle