window.GestureEvent
See: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
GestureEvent(type, eventInit)
Creates an instance of GestureEvent.
Param | Type |
---|---|
type | * |
eventInit | * |
expansion : number
Read only
rotation : number
Read only
scale : number
Read only
translationX : number
Read only
translationY : number
Read only
velocityAngular : number
Read only
velocityExpansion : number
Read only
velocityX : number
Read only
velocityY : number
Read only
pointerId
Read only
width : number
Read only
height : number
Read only
pressure : number
Read only
tangentialPressure : number
Read only
tiltX : number
Read only
tiltY : number
Read only
twist : number
Read only
clientX : number
Read only
clientY : number
Read only
offsetX : number
Read only
offsetY : number
Read only
pageX : number
Read only
pageY : number
Read only
screenX : number
Read only
screenY : number
Read only
movementX : number
Read only
movementY : number
Read only
button : number
Read only
buttons
Read only
detail
Read only
pointerType
Read only
altKey
Read only
shiftKey
Read only
metaKey
Read only
ctrlKey
Read only
isPrimary
Read only
which
Read only
type
Read only
isTrusted : boolean
Read only
target : Node
Read only
currentTarget : Node
Read only
bubbles : boolean
Read only
cancelable : boolean
Read only
composed : boolean
Read only
eventPhase
Read only
defaultPrevented : boolean
Read only
returnValue : *
initEvent(typeArg, bubblesArg, cancelableArg)
Param | Type |
---|---|
typeArg | string |
bubblesArg | boolean |
cancelableArg | boolean |
composedPath()
Returns the event's path
See
- https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
- https://dom.spec.whatwg.org/#dom-event-composedpath