Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DocumentAndElementEventHandlers

interface DocumentAndElementEventHandlers {
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(
type: K,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(
type: K,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}

§Properties

§
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
[src]
§
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
[src]
§
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
[src]

§Methods

§
addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(
type: K,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(
type: K,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]