Js mouse event sorting ------- Day47

Source: Internet
Author: User

It was a bit late to come back today, and it was really difficult to get rid of new applications. I summarized and reviewed the previous functions, but it was a great deal of emotion. Today, June 24, in fact, it is a meaningful day. Since last year, I have entered the software industry. Now, it has been a year and there are gains and shortcomings, I can't imagine what I will do next year, but I am willing to keep working hard and cheer up.


I made some sorting records on the Interaction several days ago. There are two main types of records: the keyboard and the mouse.

Although there are many buttons on the keyboard, there are only two events:Onkeydown and onkeyupAnd someone else said it still exists.OnkeypressI haven't used this yet. Please write it down now.

There are quite a lot of mouse events, which have been used before:

* Out of range beyond the floating rangeOnmouseover and onmouseout

* ClickOnclick

* The mouse is pressed or popped up.Onmouseup and onmousedown

* Move the mouseOnmousemove

*OncontextmenuIt should not be a mouse event, but it actually solves the right-click problem.

The following events are not used:

*Double-clickOfOnDblClick

*Scroll wheel eventOfDOMMouseScrollOrOnmousewheel

For the moment, write down the interaction information. The touch screen should be the one that will be mentioned later. Should these be all events? Is there anything else?


Male Road, step by step ....



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.