window.PointerEvent
See: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent
PointerEvent(type, eventInit)
Creates an instance of PointerEvent.
Param | Type |
---|---|
type | * |
eventInit | * |
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