91 lines
1.9 KiB
JavaScript
91 lines
1.9 KiB
JavaScript
|
/**
|
||
|
* Copyright 2013-present, Facebook, Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* This source code is licensed under the BSD-style license found in the
|
||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
/**
|
||
|
* Types of raw signals from the browser caught at the top level.
|
||
|
*/
|
||
|
var topLevelTypes = {
|
||
|
topAbort: null,
|
||
|
topAnimationEnd: null,
|
||
|
topAnimationIteration: null,
|
||
|
topAnimationStart: null,
|
||
|
topBlur: null,
|
||
|
topCanPlay: null,
|
||
|
topCanPlayThrough: null,
|
||
|
topChange: null,
|
||
|
topClick: null,
|
||
|
topCompositionEnd: null,
|
||
|
topCompositionStart: null,
|
||
|
topCompositionUpdate: null,
|
||
|
topContextMenu: null,
|
||
|
topCopy: null,
|
||
|
topCut: null,
|
||
|
topDoubleClick: null,
|
||
|
topDrag: null,
|
||
|
topDragEnd: null,
|
||
|
topDragEnter: null,
|
||
|
topDragExit: null,
|
||
|
topDragLeave: null,
|
||
|
topDragOver: null,
|
||
|
topDragStart: null,
|
||
|
topDrop: null,
|
||
|
topDurationChange: null,
|
||
|
topEmptied: null,
|
||
|
topEncrypted: null,
|
||
|
topEnded: null,
|
||
|
topError: null,
|
||
|
topFocus: null,
|
||
|
topInput: null,
|
||
|
topInvalid: null,
|
||
|
topKeyDown: null,
|
||
|
topKeyPress: null,
|
||
|
topKeyUp: null,
|
||
|
topLoad: null,
|
||
|
topLoadedData: null,
|
||
|
topLoadedMetadata: null,
|
||
|
topLoadStart: null,
|
||
|
topMouseDown: null,
|
||
|
topMouseMove: null,
|
||
|
topMouseOut: null,
|
||
|
topMouseOver: null,
|
||
|
topMouseUp: null,
|
||
|
topPaste: null,
|
||
|
topPause: null,
|
||
|
topPlay: null,
|
||
|
topPlaying: null,
|
||
|
topProgress: null,
|
||
|
topRateChange: null,
|
||
|
topReset: null,
|
||
|
topScroll: null,
|
||
|
topSeeked: null,
|
||
|
topSeeking: null,
|
||
|
topSelectionChange: null,
|
||
|
topStalled: null,
|
||
|
topSubmit: null,
|
||
|
topSuspend: null,
|
||
|
topTextInput: null,
|
||
|
topTimeUpdate: null,
|
||
|
topTouchCancel: null,
|
||
|
topTouchEnd: null,
|
||
|
topTouchMove: null,
|
||
|
topTouchStart: null,
|
||
|
topTransitionEnd: null,
|
||
|
topVolumeChange: null,
|
||
|
topWaiting: null,
|
||
|
topWheel: null
|
||
|
};
|
||
|
|
||
|
var EventConstants = {
|
||
|
topLevelTypes: topLevelTypes
|
||
|
};
|
||
|
|
||
|
module.exports = EventConstants;
|