# Interface PointerEvent<T>

currentTarget - a reference to the element on which the event listener is registered.

target - a reference to the element from which the event was originally dispatched. This might be a child element to the element on which the event listener is registered. If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11508#issuecomment-256045682

interface PointerEvent<T> {
altKey: boolean;
bubbles: boolean;
button: number;
buttons: number;
cancelable: boolean;
clientX: number;
clientY: number;
ctrlKey: boolean;
currentTarget: EventTarget & T;
defaultPrevented: boolean;
detail: number;
eventPhase: number;
height: number;
isPrimary: boolean;
isTrusted: boolean;
metaKey: boolean;
movementX: number;
movementY: number;
nativeEvent: PointerEvent;
pageX: number;
pageY: number;
pointerId: number;
pointerType: "touch" | "mouse" | "pen";
pressure: number;
relatedTarget: EventTarget;
screenX: number;
screenY: number;
shiftKey: boolean;
tangentialPressure: number;
target: EventTarget;
tiltX: number;
tiltY: number;
timeStamp: number;
twist: number;
type: string;
view: AbstractView;
width: number;
getModifierState(key): boolean;
isDefaultPrevented(): boolean;
isPropagationStopped(): boolean;
persist(): void;
preventDefault(): void;
stopPropagation(): void;
}

#### Type Parameters

- T = Element

#### Hierarchy (view full)

- MouseEvent<T, NativePointerEvent>
  - PointerEvent

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2210

#####
Index

### Properties

altKey
bubbles
button
buttons
cancelable
clientX
clientY
ctrlKey
currentTarget
defaultPrevented
detail
eventPhase
height
isPrimary
isTrusted
metaKey
movementX
movementY
nativeEvent
pageX
pageY
pointerId
pointerType
pressure
relatedTarget
screenX
screenY
shiftKey
tangentialPressure
target
tiltX
tiltY
timeStamp
twist
type
view
width

### Methods

getModifierState
isDefaultPrevented
isPropagationStopped
persist
preventDefault
stopPropagation

## Properties

### altKey

altKey: boolean

Inherited from MouseEvent.altKey

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2281

### bubbles

bubbles: boolean

Inherited from MouseEvent.bubbles

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2175

### button

button: number

Inherited from MouseEvent.button

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2282

### buttons

buttons: number

Inherited from MouseEvent.buttons

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2283

### cancelable

cancelable: boolean

Inherited from MouseEvent.cancelable

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2176

### clientX

clientX: number

Inherited from MouseEvent.clientX

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2284

### clientY

clientY: number

Inherited from MouseEvent.clientY

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2285

### ctrlKey

ctrlKey: boolean

Inherited from MouseEvent.ctrlKey

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2286

### currentTarget

currentTarget: EventTarget & T

Inherited from MouseEvent.currentTarget

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2173

### defaultPrevented

defaultPrevented: boolean

Inherited from MouseEvent.defaultPrevented

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2177

### detail

detail: number

Inherited from MouseEvent.detail

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2317

### eventPhase

eventPhase: number

Inherited from MouseEvent.eventPhase

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2178

### height

height: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2218

### isPrimary

isPrimary: boolean

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2220

### isTrusted

isTrusted: boolean

Inherited from MouseEvent.isTrusted

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2179

### metaKey

metaKey: boolean

Inherited from MouseEvent.metaKey

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2291

### movementX

movementX: number

Inherited from MouseEvent.movementX

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2292

### movementY

movementY: number

Inherited from MouseEvent.movementY

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2293

### nativeEvent

nativeEvent: PointerEvent

Inherited from MouseEvent.nativeEvent

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2172

### pageX

pageX: number

Inherited from MouseEvent.pageX

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2294

### pageY

pageY: number

Inherited from MouseEvent.pageY

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2295

### pointerId

pointerId: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2211

### pointerType

pointerType: "touch" | "mouse" | "pen"

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2219

### pressure

pressure: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2212

### relatedTarget

relatedTarget: EventTarget

Inherited from MouseEvent.relatedTarget

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2296

### screenX

screenX: number

Inherited from MouseEvent.screenX

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2297

### screenY

screenY: number

Inherited from MouseEvent.screenY

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2298

### shiftKey

shiftKey: boolean

Inherited from MouseEvent.shiftKey

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2299

### tangentialPressure

tangentialPressure: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2213

### target

target: EventTarget

Inherited from MouseEvent.target

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2174

### tiltX

tiltX: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2214

### tiltY

tiltY: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2215

### timeStamp

timeStamp: number

Inherited from MouseEvent.timeStamp

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2185

### twist

twist: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2216

### type

type: string

Inherited from MouseEvent.type

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2186

### view

view: AbstractView

Inherited from MouseEvent.view

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2318

### width

width: number

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2217

## Methods

### getModifierState

- getModifierState(key): boolean

- See DOM Level 3 Events spec. for a list of valid (case-sensitive) arguments to this method.

  #### Parameters

  - key: ModifierKey

  #### Returns boolean

  Inherited from MouseEvent.getModifierState

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2290

### isDefaultPrevented

- isDefaultPrevented(): boolean

- #### Returns boolean

  Inherited from MouseEvent.isDefaultPrevented

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2181

### isPropagationStopped

- isPropagationStopped(): boolean

- #### Returns boolean

  Inherited from MouseEvent.isPropagationStopped

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2183

### persist

- persist(): void

- #### Returns void

  Inherited from MouseEvent.persist

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2184

### preventDefault

- preventDefault(): void

- #### Returns void

  Inherited from MouseEvent.preventDefault

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2180

### stopPropagation

- stopPropagation(): void

- #### Returns void

  Inherited from MouseEvent.stopPropagation

  - Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:2182