-
Notifications
You must be signed in to change notification settings - Fork 0
/
input-event.d.ts
25 lines (20 loc) · 1.5 KB
/
input-event.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
interface HTMLElement {
addEventListener(type: "input", listener: (this: HTMLElement, ev: InputEvent) => any, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: "input", listener: (this: HTMLElement, ev: InputEvent) => any, options?: boolean | EventListenerOptions): void;
}
interface HTMLTextAreaElement {
addEventListener(type: "input", listener: (this: HTMLTextAreaElement, ev: InputEvent) => any, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: "input", listener: (this: HTMLTextAreaElement, ev: InputEvent) => any, options?: boolean | EventListenerOptions): void;
}
interface HTMLInputElement {
addEventListener(type: "input", listener: (this: HTMLInputElement, ev: InputEvent) => any, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: "input", listener: (this: HTMLInputElement, ev: InputEvent) => any, options?: boolean | EventListenerOptions): void;
}
interface Document {
addEventListener(type: "input", listener: (this: Document, ev: InputEvent) => any, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: "input", listener: (this: Document, ev: InputEvent) => any, options?: boolean | EventListenerOptions): void;
}
interface Window {
addEventListener(type: "input", listener: (this: Window, ev: InputEvent) => any, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: "input", listener: (this: Window, ev: InputEvent) => any, options?: boolean | EventListenerOptions): void;
}