import { type dom } from "https://deno.land/x/evt@v2.4.7/lib/index.ts";
const { DocumentAndElementEventHandlers } = dom;
Properties
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null
Methods
addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(): void
type: K,
listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(): void
type: K,
listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any,
options?: boolean | EventListenerOptions,