OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // UI Events |
| 6 // https://w3c.github.io/uievents/#idl-inputevent |
| 7 |
5 [ | 8 [ |
6 Constructor(DOMString type, optional InputEventInit eventInitDict), | 9 Constructor(DOMString type, optional InputEventInit eventInitDict), |
7 RuntimeEnabled=InputEvent, | 10 RuntimeEnabled=InputEvent, |
8 ] interface InputEvent : UIEvent { | 11 ] interface InputEvent : UIEvent { |
9 // UI Events | |
10 // https://w3c.github.io/uievents/#idl-inputevent | |
11 readonly attribute DOMString? data; | 12 readonly attribute DOMString? data; |
12 readonly attribute boolean isComposing; | 13 readonly attribute boolean isComposing; |
13 | 14 |
14 // Input Events Level 1 | 15 // Input Events Level 1 |
15 // https://www.w3.org/TR/2017/WD-input-events-1-20170321/#interface-InputEve
nt | 16 // https://www.w3.org/TR/2017/WD-input-events-1-20170321/#interface-InputEve
nt |
16 readonly attribute DOMString inputType; | 17 readonly attribute DOMString inputType; |
17 readonly attribute DataTransfer? dataTransfer; | 18 readonly attribute DataTransfer? dataTransfer; |
18 sequence<StaticRange> getTargetRanges(); | 19 sequence<StaticRange> getTargetRanges(); |
19 }; | 20 }; |
OLD | NEW |