react / react-0.13.3 / examples / basic-commonjs / node_modules / reactify / node_modules / react-tools / src / event / EventConstants.js
81152 views/**1* Copyright 2013-2014, Facebook, Inc.2* All rights reserved.3*4* This source code is licensed under the BSD-style license found in the5* LICENSE file in the root directory of this source tree. An additional grant6* of patent rights can be found in the PATENTS file in the same directory.7*8* @providesModule EventConstants9*/1011"use strict";1213var keyMirror = require('keyMirror');1415var PropagationPhases = keyMirror({bubbled: null, captured: null});1617/**18* Types of raw signals from the browser caught at the top level.19*/20var topLevelTypes = keyMirror({21topBlur: null,22topChange: null,23topClick: null,24topCompositionEnd: null,25topCompositionStart: null,26topCompositionUpdate: null,27topContextMenu: null,28topCopy: null,29topCut: null,30topDoubleClick: null,31topDrag: null,32topDragEnd: null,33topDragEnter: null,34topDragExit: null,35topDragLeave: null,36topDragOver: null,37topDragStart: null,38topDrop: null,39topError: null,40topFocus: null,41topInput: null,42topKeyDown: null,43topKeyPress: null,44topKeyUp: null,45topLoad: null,46topMouseDown: null,47topMouseMove: null,48topMouseOut: null,49topMouseOver: null,50topMouseUp: null,51topPaste: null,52topReset: null,53topScroll: null,54topSelectionChange: null,55topSubmit: null,56topTextInput: null,57topTouchCancel: null,58topTouchEnd: null,59topTouchMove: null,60topTouchStart: null,61topWheel: null62});6364var EventConstants = {65topLevelTypes: topLevelTypes,66PropagationPhases: PropagationPhases67};6869module.exports = EventConstants;707172