Zum Hauptteil springen

InputEvent Objekt

  • type string - Kann undefined, mouseDown, mouseUp, mouseMove, mouseEnter, mouseLeave, contextMenu, mouseWheel, rawKeyDown, keyDown, keyUp, char, gestureScrollBegin, gestureScrollEnd, gestureScrollUpdate, gestureFlingStart, gestureFlingCancel, gesturePinchBegin, gesturePinchEnd, gesturePinchUpdate, gestureTapDown, gestureShowPress, gestureTap, gestureTapCancel, gestureShortPress, gestureLongPress, gestureLongTap, gestureTwoFingerTap, gestureTapUnconfirmed, gestureDoubleTap, touchStart, touchMove, touchEnd, touchCancel, touchScrollStarted, pointerDown, pointerUp, pointerMove, pointerRawUpdate, pointerCancel oder pointerCausedUaAction sein.
  • modifiers string[] (Optional) - Ein Array an Modifizierern des Events. Kann shift, control, ctrl, alt, meta, command, cmd, iskeypad, isautorepeat, leftbuttondown, middlebuttondown, rightbuttondown, capslock, numlock, left, right sein.