Customize Resize Behavior

Customize Resize Behavior

If you want to customize behavior of resizing, then you have to know how to use Resizer.

There is two ways to get the Resizer. One is beforeApplyResizer defined on the props of Container, and the other is getResizer defined on the instance of Container.

Beware that you need manually calling applyResizer every time you want to apply the effect, except in beforeApplyResizer. Check demo Make Section collapsible (opens in a new tab) to see how applyResizer is used.