.mousedown( handler )Returns: jQueryversion deprecated: 3.3
Description: Bind an event handler to the "mousedown" event, or trigger that event on an element.
-
version added: 1.0.mousedown( handler )
-
handlerA function to execute each time the event is triggered.
-
-
version added: 1.4.3.mousedown( [eventData ], handler )
-
eventDataType: AnythingAn object containing data that will be passed to the event handler.
-
handlerA function to execute each time the event is triggered.
-
-
version added: 1.0.mousedown()
- This signature does not accept any arguments.
This API is deprecated.
Instead of .mousedown( handler )
or .mousedown( eventData, handler )
, use .on( "mousedown", handler )
or .on( "mousedown", eventData, handler )
, respectively.
Instead of .mousedown()
, use .trigger( "mousedown" )
.