arkit
Version:
Visualises JavaScript, TypeScript and Flow codebases as meaningful and committable architecture diagrams
27 lines (23 loc) • 649 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 SyntheticUIEvent from './SyntheticUIEvent';
import getEventModifierState from './getEventModifierState';
/**
* @interface TouchEvent
* @see http://www.w3.org/TR/touch-events/
*/
const SyntheticTouchEvent = SyntheticUIEvent.extend({
touches: null,
targetTouches: null,
changedTouches: null,
altKey: null,
metaKey: null,
ctrlKey: null,
shiftKey: null,
getModifierState: getEventModifierState,
});
export default SyntheticTouchEvent;