ForceTouch Event demo

理论上如果你使用的是带有ForceTouch的设备(比如iPhone6s、Magic Trackpad 2等),点击灰色区域将会显示压感数值。
咱主要是为了测试wordpress真对js和新功能的兼容性的。(果然一团糟
实现原理可以研究网页源码。或者查看来源

force: 0

 
 
 
 
 
 
 
 
 
 
 
 

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

:b1 :b2 :b3 :b4 :b5 :b6 more »

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).