javascript - 页面中绑定了touchstart事件,chrome弹出一个警告看不懂,求帮助
PHPz
PHPz 2017-04-11 11:08:48
0
1
597

Performing operations that require explicit user interaction on touchstart events is deprecated and will be removed in M56, around January 2017. See https://www.chromestatus.com/... for more details.

以上是chrome打开这个页面时弹出的警告,对于描述让我很迷惑

1、这个意思是否在2017年1月touchstart事件在chrome里不再被支持吗?

2、这个页面是移动端页面,假如1为真的话 那么移动端的webkit浏览器是否也是不支持了?

ps:刚刚测试了一下不管是给window还是document绑定所有touch events都会出现上述警告。求解

PHPz
PHPz

学习是最好的投资!

全部回覆 (1)
Ty80

非也,你肯定是在touchstart时触发了别的事件,比如window.open,这种方式将要被遗弃

    最新下載
    更多>
    網站特效
    網站源碼
    網站素材
    前端模板
    關於我們 免責聲明 Sitemap
    PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!