jQuery resize() Method
jQuery resize() Method
The resize event is used to occur when the browser window changes size. The resize() method triggered the resize event. We can attach a function to run when a resize event occurs.
Syntax:-
Its syntax is:- $(selector).resize(function)
Further Explanationion:-
Parameter | Description |
---|---|
function | Optional. Specifies the function to run when the resize event is triggered |