Skip to content

Commit

Permalink
Add tangentialPressure and twist fields to SyntheticPointerEvent
Browse files Browse the repository at this point in the history
facebook/react#13374 has been merged so the next
React DOM release will have these fields.
  • Loading branch information
motiz88 committed Aug 12, 2018
1 parent 12daff2 commit 1708247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/react-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@ declare class SyntheticPointerEvent<
width: number;
height: number;
pressure: number;
tangentialPressure: number;
tiltX: number;
tiltY: number;
twist: number;
pointerType: string;
isPrimary: boolean;
}
Expand Down

0 comments on commit 1708247

Please sign in to comment.