GestureEvent
Extends: BaseUIEvent
See: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
- GestureEvent
- new GestureEvent(type, eventInit)
- .expansion :
number
- .rotation :
number
- .scale :
number
- .translationX :
number
- .translationY :
number
- .velocityAngular :
number
- .velocityExpansion :
number
- .velocityX :
number
- .velocityY :
number
- .pointerId
- .width :
number
- .height :
number
- .pressure :
number
- .tangentialPressure :
number
- .tiltX :
number
- .tiltY :
number
- .twist :
number
- .clientX :
number
- .clientY :
number
- .offsetX :
number
- .offsetY :
number
- .pageX :
number
- .pageY :
number
- .screenX :
number
- .screenY :
number
- .movementX :
number
- .movementY :
number
- .button :
number
- .buttons
- .detail
- .pointerType
- .altKey
- .shiftKey
- .metaKey
- .ctrlKey
- .isPrimary
- .which
- .type
- .isTrusted :
boolean
- .target :
Node
- .currentTarget :
Node
- .bubbles :
boolean
- .cancelable :
boolean
- .eventPhase
- .defaultPrevented :
boolean
- .returnValue :
*
- .preventDefault()
- .stopImmediatePropagation()
- .stopPropagation()
new GestureEvent(type, eventInit)
Creates an instance of GestureEvent.
Param | Type |
---|---|
type | * |
eventInit | * |
gestureEvent.expansion : number
Read only
gestureEvent.rotation : number
Read only
gestureEvent.scale : number
Read only
gestureEvent.translationX : number
Read only
gestureEvent.translationY : number
Read only
gestureEvent.velocityAngular : number
Read only
gestureEvent.velocityExpansion : number
Read only
gestureEvent.velocityX : number
Read only
gestureEvent.velocityY : number
Read only
gestureEvent.pointerId
Read only
gestureEvent.width : number
Read only
gestureEvent.height : number
Read only
gestureEvent.pressure : number
Read only
gestureEvent.tangentialPressure : number
Read only
gestureEvent.tiltX : number
Read only
gestureEvent.tiltY : number
Read only
gestureEvent.twist : number
Read only
gestureEvent.clientX : number
Read only
gestureEvent.clientY : number
Read only
gestureEvent.offsetX : number
Read only
gestureEvent.offsetY : number
Read only
gestureEvent.pageX : number
Read only
gestureEvent.pageY : number
Read only
gestureEvent.screenX : number
Read only
gestureEvent.screenY : number
Read only
gestureEvent.movementX : number
Read only
gestureEvent.movementY : number
Read only
gestureEvent.button : number
Read only
gestureEvent.buttons
Read only
gestureEvent.detail
Read only
gestureEvent.pointerType
Read only
gestureEvent.altKey
Read only
gestureEvent.shiftKey
Read only
gestureEvent.metaKey
Read only
gestureEvent.ctrlKey
Read only
gestureEvent.isPrimary
Read only
gestureEvent.which
Read only
gestureEvent.type
Read only
gestureEvent.isTrusted : boolean
Read only
gestureEvent.target : Node
Read only
gestureEvent.currentTarget : Node
Read only
gestureEvent.bubbles : boolean
Read only
gestureEvent.cancelable : boolean
Read only
gestureEvent.eventPhase
Read only
gestureEvent.defaultPrevented : boolean
Read only