.resize()


.resize( handler )Returns: jQueryversion deprecated: 3.3

Description: Bind an event handler to the "resize" event, or trigger that event on an element.

This API is deprecated.

Instead of .resize( handler ) or .resize( eventData, handler ), use .on( "resize", handler ) or .on( "resize", eventData, handler ), respectively.

Instead of .resize(), use .trigger( "resize" ).