mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
28 lines
610 B
JavaScript
28 lines
610 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
import SyntheticMouseEvent from './SyntheticMouseEvent';
|
|
|
|
/**
|
|
* @interface PointerEvent
|
|
* @see http://www.w3.org/TR/pointerevents/
|
|
*/
|
|
const SyntheticPointerEvent = SyntheticMouseEvent.extend({
|
|
pointerId: null,
|
|
width: null,
|
|
height: null,
|
|
pressure: null,
|
|
tangentialPressure: null,
|
|
tiltX: null,
|
|
tiltY: null,
|
|
twist: null,
|
|
pointerType: null,
|
|
isPrimary: null,
|
|
});
|
|
|
|
export default SyntheticPointerEvent;
|