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
Configs
1Configuration object defining which resize handles to display.
Set a property to false to hide the corresponding handle.
| Parameter | Type | Description |
|---|---|---|
topStart | Boolean | Show/hide the top-start corner resize handle |
top | Boolean | Show/hide the top edge resize handle |
topEnd | Boolean | Show/hide the top-end corner resize handle |
end | Boolean | Show/hide the end edge resize handle |
bottomEnd | Boolean | Show/hide the bottom-end corner resize handle |
bottom | Boolean | Show/hide the bottom edge resize handle |
bottomStart | Boolean | Show/hide the bottom-start corner resize handle |
start | Boolean | Show/hide the start edge resize handle |
Properties
1
Properties
1Configuration object defining which resize handles to display.
Set a property to false to hide the corresponding handle.
| Parameter | Type | Description |
|---|---|---|
topStart | Boolean | Show/hide the top-start corner resize handle |
top | Boolean | Show/hide the top edge resize handle |
topEnd | Boolean | Show/hide the top-end corner resize handle |
end | Boolean | Show/hide the end edge resize handle |
bottomEnd | Boolean | Show/hide the bottom-end corner resize handle |
bottom | Boolean | Show/hide the bottom edge resize handle |
bottomStart | Boolean | Show/hide the bottom-start corner resize handle |
start | Boolean | Show/hide the start edge resize handle |