We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6881d4 commit c3481d1Copy full SHA for c3481d1
1 file changed
src/scale.ts
@@ -50,7 +50,7 @@ function scaleWheel(oe: WheelEvent, handler: types.TScaleHandler): void {
50
}
51
52
/**
53
- * --- 绑定指针缩放/拖动,只需绑定到 pointerdown 事件上,其他事件自动绑定并在结束后自动移除 ---
+ * --- 绑定指针缩放/拖动,只需绑定到 pointerdown、或 wheel 事件(也可同时绑定)上,其他事件自动绑定并在结束后自动移除 ---
54
* @param oe 触发的 PointerEvent 事件
55
* @param handler 回调函数
56
*/
0 commit comments