鼠标滚轮事件和Mac触控板双指事件

qq_11834 22 0 PDF 2020-11-29 02:11:39

因为下一阶段要做的一个工作是开发一个WEB端的K线图,所以这一周一直在研究这方面的东西,其中涉及到的一个知识点是鼠标滚轮事件和Mac的触控板双指事件,发现这里面还是有一些坑的。 1. 用哪个事件 The wheel event fires when the user rotates a wheel button on a pointing device (typically a mouse). This event replaces the non-standard deprecated mousewheel event. 以前常使用的mousewheel事件已经逐渐被官方废弃了,改用whee

用户评论
请输入评论内容
评分:
暂无评论