wheel-direction
なにこれ
方向付きWheelEventの実装。
使い方
$ npm i wheel-direction
; element;
Events
- wheel-up
- wheel-down
- wheel-left
- wheel-right
- wheel-front
- wheel-back
API
ON/OFF
; ctrler;ctrler;ctrler;
addEventListener options
// {passive: false}const mod = import'wheel-direction?once=true&passive=false';
or
<!-- {once: true} -->