If you click and drag inside the red box below it will grow until you let go.
If you click and drag inside the red box below it will grow until it reaches a max width and height.
If you click and drag inside the red box below it will grow until it reaches a max width and height.
It will not resize below a certain amount.
By passing in false you can turn of expansion in either direction
Fixed width
Fixed height
If you use a target then the resize is based on where you drag the trigger element.
Can be used on things other then divs...
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.