1 | /**
|
2 | * Copyright 2013-present, 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 | */
|
10 |
|
11 | ;
|
12 |
|
13 | var SyntheticEvent = require('./SyntheticEvent');
|
14 |
|
15 | /**
|
16 | * @interface Event
|
17 | * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
|
18 | */
|
19 | var CompositionEventInterface = {
|
20 | data: null
|
21 | };
|
22 |
|
23 | /**
|
24 | * @param {object} dispatchConfig Configuration used to dispatch this event.
|
25 | * @param {string} dispatchMarker Marker identifying the event target.
|
26 | * @param {object} nativeEvent Native browser event.
|
27 | * @extends {SyntheticUIEvent}
|
28 | */
|
29 | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {
|
30 | return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);
|
31 | }
|
32 |
|
33 | SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);
|
34 |
|
35 | module.exports = SyntheticCompositionEvent; |
\ | No newline at end of file |