ResizeEvent
Specifies the event arguments for resize events.
Props
The following table outlines the props for the ResizeEvent:
| Name | Type | Default | Description |
|---|---|---|---|
| cancel | boolean | - | Specifies whether the resize operation should be canceled. Set to true in event handlers to prevent the resize start operation from proceeding. |
| direction | - | Specifies the direction in which the resize is occurring (e.g., 'North', 'SouthEast'). Indicates which handle is being used for the current resize operation. | |
| event | Event | - | Specifies the original browser event that triggered the resize action. |
| height | number | - | Specifies the current height of the element being resized. This value is updated during the resize operation. |
| width | number | - | Specifies the current width of the element being resized. This value is updated during the resize operation. |