PointerEvent
Extends: BaseUIEvent
See: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent
- PointerEvent
- new PointerEvent(type, eventInit)
- .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 PointerEvent(type, eventInit)
Creates an instance of PointerEvent.
Param | Type |
---|---|
type | * |
eventInit | * |
pointerEvent.pointerId
Read only
pointerEvent.width : number
Read only
pointerEvent.height : number
Read only
pointerEvent.pressure : number
Read only
pointerEvent.tangentialPressure : number
Read only
pointerEvent.tiltX : number
Read only
pointerEvent.tiltY : number
Read only
pointerEvent.twist : number
Read only
pointerEvent.clientX : number
Read only
pointerEvent.clientY : number
Read only
pointerEvent.offsetX : number
Read only
pointerEvent.offsetY : number
Read only
pointerEvent.pageX : number
Read only
pointerEvent.pageY : number
Read only
pointerEvent.screenX : number
Read only
pointerEvent.screenY : number
Read only
pointerEvent.movementX : number
Read only
pointerEvent.movementY : number
Read only
pointerEvent.button : number
Read only
pointerEvent.buttons
Read only
pointerEvent.detail
Read only
pointerEvent.pointerType
Read only
pointerEvent.altKey
Read only
pointerEvent.shiftKey
Read only
pointerEvent.metaKey
Read only
pointerEvent.ctrlKey
Read only
pointerEvent.isPrimary
Read only
pointerEvent.which
Read only
pointerEvent.type
Read only
pointerEvent.isTrusted : boolean
Read only
pointerEvent.target : Node
Read only
pointerEvent.currentTarget : Node
Read only
pointerEvent.bubbles : boolean
Read only
pointerEvent.cancelable : boolean
Read only
pointerEvent.eventPhase
Read only
pointerEvent.defaultPrevented : boolean
Read only