To resize the element, drag it by using right side or bottom border. After dragging leave the pointer, the element will take the new size by using animation. We can set the animation option to true or false by using the code below. By default the animation is set to false, i.e. no animation.
Check the sample code below.