.mouseleave()


.mouseleave( handler )Returns: jQueryversion deprecated: 3.3

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

This API is deprecated.

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

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