UNPKG

967 BJavaScriptView Raw
1/**
2 * Copyright (c) 2013-present, Facebook, Inc.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8
9'use strict';
10
11var SyntheticEvent = require('./SyntheticEvent');
12
13/**
14 * @interface Event
15 * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
16 * /#events-inputevents
17 */
18var InputEventInterface = {
19 data: null
20};
21
22/**
23 * @param {object} dispatchConfig Configuration used to dispatch this event.
24 * @param {string} dispatchMarker Marker identifying the event target.
25 * @param {object} nativeEvent Native browser event.
26 * @extends {SyntheticUIEvent}
27 */
28function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {
29 return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);
30}
31
32SyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);
33
34module.exports = SyntheticInputEvent;
\No newline at end of file