1.0.9 • Published 6 months ago
@types/dom-inputevent v1.0.9
Installation
npm install --save @types/dom-inputevent
Summary
This package contains type definitions for UI Events W3C Working Draft — Input Events — Interface 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
// Type definitions for non-npm package UI Events W3C Working Draft — Input Events — Interface InputEvent 1.0
// Project: https://w3c.github.io/uievents/#interface-inputevent
// Definitions by: Steven Sinatra <https://github.com/diagramatics>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 09:08:48 GMT
- Dependencies: none
- Global values:
InputEvent
Credits
These definitions were written by Steven Sinatra.