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