jQuery | resize() with Examples
The resize() method is an inbuilt method in jQuery which is used when the browser window change its size.
Parameter: This method accepts single parameter function which is optional. It is used to specify the function to run when the resize event is called.
Return Value: This method returns the selected element with increases its size.
Below example illustrates the resize() method in jQuery:
Before click anything.
After clicking 2 times “ctrl” and “+” key together in keyboard.