您的当前位置:首页>全部文章>文章详情

鼠标滚轮滚动事件

发表于:2023-09-07 08:33:58浏览:75次TAG: #JavaScript

mousewheel事件
DOMMouseScroll事件

<div @mousewhell="scroll" @DOMMouseScroll="scroll">

scroll(e){
    console.log(e);
}