Interface PointerEventInit
interface PointerEventInit {
altKey?: boolean;
bubbles?: boolean;
button?: number;
buttons?: number;
cancelable?: boolean;
clientX?: number;
clientY?: number;
coalescedEvents?: PointerEvent[];
composed?: boolean;
ctrlKey?: boolean;
detail?: number;
height?: number;
isPrimary?: boolean;
metaKey?: boolean;
modifierAltGraph?: boolean;
modifierCapsLock?: boolean;
modifierFn?: boolean;
modifierFnLock?: boolean;
modifierHyper?: boolean;
modifierNumLock?: boolean;
modifierScrollLock?: boolean;
modifierSuper?: boolean;
modifierSymbol?: boolean;
modifierSymbolLock?: boolean;
movementX?: number;
movementY?: number;
pointerId?: number;
pointerType?: string;
predictedEvents?: PointerEvent[];
pressure?: number;
relatedTarget?: EventTarget;
screenX?: number;
screenY?: number;
shiftKey?: boolean;
tangentialPressure?: number;
tiltX?: number;
tiltY?: number;
twist?: number;
view?: Window;
which?: number;
width?: number;
}
altKey?: boolean;
bubbles?: boolean;
button?: number;
buttons?: number;
cancelable?: boolean;
clientX?: number;
clientY?: number;
coalescedEvents?: PointerEvent[];
composed?: boolean;
ctrlKey?: boolean;
detail?: number;
height?: number;
isPrimary?: boolean;
metaKey?: boolean;
modifierAltGraph?: boolean;
modifierCapsLock?: boolean;
modifierFn?: boolean;
modifierFnLock?: boolean;
modifierHyper?: boolean;
modifierNumLock?: boolean;
modifierScrollLock?: boolean;
modifierSuper?: boolean;
modifierSymbol?: boolean;
modifierSymbolLock?: boolean;
movementX?: number;
movementY?: number;
pointerId?: number;
pointerType?: string;
predictedEvents?: PointerEvent[];
pressure?: number;
relatedTarget?: EventTarget;
screenX?: number;
screenY?: number;
shiftKey?: boolean;
tangentialPressure?: number;
tiltX?: number;
tiltY?: number;
twist?: number;
view?: Window;
which?: number;
width?: number;
}
Hierarchy
- MouseEventInit
- PointerEventInit (view full)
Index
Properties
altKey?
bubbles?
button?
buttons?
cancelable?
clientX?
clientY?
coalescedEvents?
composed?
ctrlKey?
detail?
height?
isPrimary?
metaKey?
modifierAltGraph?
modifierCapsLock?
modifierFn?
modifierFnLock?
modifierHyper?
modifierNumLock?
modifierScrollLock?
modifierSuper?
modifierSymbol?
modifierSymbolLock?
movementX?
movementY?
pointerId?
pointerType?
predictedEvents?
pressure?
relatedTarget?
screenX?
screenY?
shiftKey?
tangentialPressure?
tiltX?
tiltY?
twist?
view?
which?
width?
Properties
Optional
altKey
altKey ?: boolean
Optional
bubbles
bubbles?: boolean
Optional
button
button?: number
Optional
buttons
buttons?: number
Optional
cancelable
cancelable?: boolean
Optional
clientX
clientX?: number
Optional
clientY
clientY?: number
Optional
coalescedEvents
Optional
composed
composed?: boolean
Optional
ctrlKey
ctrlKey ?: boolean
Optional
detail
detail?: number
Optional
height
height?: number
Optional
isPrimary
isPrimary ?: boolean
Optional
metaKey
metaKey ?: boolean
Optional
modifierAltGraph
modifierAltGraph ?: boolean
Optional
modifierCapsLock
modifierCapsLock ?: boolean
Optional
modifierFn
modifierFn ?: boolean
Optional
modifierFnLock
modifierFnLock ?: boolean
Optional
modifierHyper
modifierHyper ?: boolean
Optional
modifierNumLock
modifierNumLock ?: boolean
Optional
modifierScrollLock
modifierScrollLock ?: boolean
Optional
modifierSuper
modifierSuper ?: boolean
Optional
modifierSymbol
modifierSymbol ?: boolean
Optional
modifierSymbolLock
modifierSymbolLock ?: boolean
Optional
movementX
movementX?: number
Optional
movementY
movementY?: number
Optional
pointerId
pointerId ?: number
Optional
pointerType
pointerType ?: string
Optional
predictedEvents
Optional
pressure
pressure?: number
Optional
relatedTarget
Optional
screenX
screenX?: number
Optional
screenY
screenY?: number
Optional
shiftKey
shiftKey ?: boolean
Optional
tangentialPressure
tangentialPressure ?: number
Optional
tiltX
tiltX?: number
Optional
tiltY
tiltY?: number
Optional
twist
twist?: number
Optional
view
Optional
which
which?: number
Optional
width
width?: number
Deprecated