Optionaloption: DragWatcherInitOptionOptionalcontext: anyCalls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optionalfn: (...args: ArgumentMap<DragEventMap>[Extract<T, keyof DragEventMap>]) => voidOptionalcontext: anyOptionalonce: booleanAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyProtectedonProtectedonProtectedonRemove all listeners, or those of the specified event.
Optionalevent: keyof DragEventMapRemove the listeners of a given event.
Optionalfn: (...args: ArgumentMap<DragEventMap>[Extract<T, keyof DragEventMap>]) => voidOptionalcontext: anyOptionalonce: booleanポインターの情報をリセットする。 主に単体テストで使用する。
1.カンバス全体がドラッグされている状態を確認する 2.マウスホイールが操作されている状態を確認する この二つを実行するためのクラスです。