blob: 8d4d35bcaa75df9a3262daf8bbc1dc3d0dbe5cb6 [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)
] 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();
};