chromium/third_party/blink/renderer/core/events/input_event.idl

// Copyright 2016 The Chromium Authors
// 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();
};