Spec-Zone.ru › jQuery

.mousemove()

.mousemove( handler )Returns: jQueryversion deprecated: 3.3

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

  • version added: 1.0.mousemove( handler )

    • handler
      Type: Function( Event eventObject )
      A function to execute each time the event is triggered.
  • version added: 1.4.3.mousemove( [eventData ], handler )

    • eventData
      Type: Anything
      An object containing data that will be passed to the event handler.
    • handler
      Type: Function( Event eventObject )
      A function to execute each time the event is triggered.
  • version added: 1.0.mousemove()

    • This signature does not accept any arguments.

This API is deprecated.

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

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

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/mousemove-shorthand

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API