blob: dc356b2ca7ae7440c0b60839b921ccbad007523c [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
[
Exposed=Window
] interface InputEvent : UIEvent {
constructor(DOMString type, optional InputEventInit eventInitDict = {});
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();
};