Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81155 views
1
/**
2
* Copyright 2013 Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
* @providesModule SyntheticInputEvent
10
* @typechecks static-only
11
*/
12
13
"use strict";
14
15
var SyntheticEvent = require('SyntheticEvent');
16
17
/**
18
* @interface Event
19
* @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
20
* /#events-inputevents
21
*/
22
var InputEventInterface = {
23
data: null
24
};
25
26
/**
27
* @param {object} dispatchConfig Configuration used to dispatch this event.
28
* @param {string} dispatchMarker Marker identifying the event target.
29
* @param {object} nativeEvent Native browser event.
30
* @extends {SyntheticUIEvent}
31
*/
32
function SyntheticInputEvent(
33
dispatchConfig,
34
dispatchMarker,
35
nativeEvent) {
36
SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);
37
}
38
39
SyntheticEvent.augmentClass(
40
SyntheticInputEvent,
41
InputEventInterface
42
);
43
44
module.exports = SyntheticInputEvent;
45
46
47