💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
#### 手势事件 | 手势事件 | 事件相详解 | | --- | --- | | **touchstart** | **当手指接触屏幕时触发** | | **touchmove** | **当已经接触屏幕的手指开始移动的时候触发** | | **touchend** | **当手指离开屏幕时触发** | ~~~javascript window.addEventListener('load', function () { document.addEventListener('touchstart', function (e) { console.log("触发事件:touchstart"); }) document.addEventListener('touchend', function () { console.log("触发事件:touchend"); }); document.addEventListener('touchmove', function () { console.log("触发事件:touchmove"); }); }); ~~~