blob: 0ba6e095c12828fd235a77200aa6ed0e9fc2d68a [file] [log] [blame]
// 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),
Exposed=Window
] 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();
};