npm.io
1.0.9 • Published 2 years ago

@types/dom-inputevent

Licence
MIT
Version
1.0.9
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/dom-inputevent

Summary

This package contains type definitions for dom-inputevent (https://w3c.github.io/uievents/#interface-inputevent).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dom-inputevent.

index.d.ts

interface InputEventInit extends UIEventInit {
    data?: string | null | undefined;
    isComposing?: boolean | undefined;
}

interface InputEvent extends UIEvent {
    readonly data: string | null;
    readonly isComposing: boolean;
}
declare var InputEvent: {
    prototype: InputEvent;
    new(type: string, eventInitDict?: InputEventInit): InputEvent;
};

Additional Details

  • Last updated: Mon, 06 Nov 2023 2205 GMT
  • Dependencies: none

Credits

These definitions were written by Steven Sinatra.