jquery Events--Mouse events 1

Source: Internet
Author: User

mouse events. MouseMove (),. MouseOver (),. Mouseout (),. MouseEnter (), and. MouseLeave ()

1. MouseMove () Monitor the operation of the user movement

2 $ele. MouseMove () binds the $ele element, without any parameters, to specify that an event is triggered

3 $ele. MouseMove (Handler (eventobject)) binds $ele elements, each time the $ele element triggers a click action executes a callback handler function, which can do many things for the feedback of the event

4 $ele. MouseMove ([Eventdata],handler (EventObject)) binds $ele elements, each time the $ele element triggers a click operation executes the callback handler function, which can accept a data parameter, is to solve the problem of data transfer under different scopes

5 . Trigger conditions for MouseMove ()

. MouseMove () triggers when the mouse pointer moves, even if a pixel is moved

If the processor does any significant processing or there are multiple processing functions for the event, the browser's severity can be problematic

6. MouseOver () Monitor the user's move-in operation

7. Mouseout () Monitor the user's move-out operation

8 $ele. MouseOver () binds the $ele element, without any parameters, to specify that an event is triggered

9 $ele. MouseOver (Handler (eventobject)) binds $ele elements, each time the $ele element triggers a click action executes a callback handler function, which can do many things for the feedback of the event

$ele. MouseOver ([EventData],handler (EventObject) binds the $ele element, each time the $ele element triggers a click operation executes the callback handler function, Can accept a data parameter in order to solve the problem of data transfer under different scopes

MouseEnter () listens for actions that the user moves inside the element, is triggered when the mouse moves over the element, and any HTML element can be accepted

MouseLeave () listens for actions that the user moves outside the element and is called only on the element that binds him, not on the descendant node .

The difference between MouseEnter () and. MouseLeave () is that the bubbling method handles different

jquery Events--Mouse events 1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.