| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // UI Events |
| // https://w3c.github.io/uievents/#idl-inputevent |
| |
| [ |
| Constructor(DOMString type, optional InputEventInit eventInitDict), |
| RuntimeEnabled=InputEvent |
| ] interface InputEvent : UIEvent { |
| readonly attribute DOMString? data; |
| readonly attribute boolean isComposing; |
| |
| // Input Events Level 1 |
| // https://www.w3.org/TR/2017/WD-input-events-1-20170321/#interface-InputEvent |
| readonly attribute DOMString inputType; |
| readonly attribute DataTransfer? dataTransfer; |
| sequence<StaticRange> getTargetRanges(); |
| }; |