about Windows Phone 8.1 system phone support for HTML5 touch events

Source: Internet
Author: User

Recently bought a Microsoft Lumia 640 mobile phone, the purpose is to test the development of the year to complete the Responsive mobile Web project, but also to upgrade the WIN10 mobile system in the future. Since our project is currently only supported for iOS and Android, only HTML5 touch events (such as Touchstart) are supported.

The impression that the WP system should only support pointer events for MS openings (such as Mspointerdown), but the test results are surprisingly: the project is fully functional on the Lumia 640 phone of WP8.1 and supports all touch events ...

I was puzzled about the problem, so I looked up the next MSDN document. Microsoft has added a touch event (https://msdn.microsoft.com/zh-cn/library/dn736066%28v=vs.85%29.aspx) to WP8.1 's IE11, as written in MSDN:

Touch,touchlist,touchevent interface;touchstart,touchend,touchmove ,touchcancel events,createtouch,createtouchlist methods

It turns out that both touch events and pointer events are supported in WP8.1. In this, I have done some tests, the results are as follows:

    • In IE10, only pointer events that start with MS, such as Mspointerdown (PC and mobile IE10 are the same);
    • In IE11, it also supports Ms Start-up, pointer events and touch events, such as Mspointerdown, Pointerdown, and Touchstart (the PC version does not support touch events, and the other two support);

For an update on pointer events in IE11, refer to the MSDN documentation: https://msdn.microsoft.com/library/dn304886.

In the future, when this phone is upgraded to the WIN10 mobile system, I will continue to do further testing the support of touch events in Edge browser, to be continued ...

about Windows Phone 8.1 system phone support for HTML5 touch events

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.