Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface DocumentAndElementEventHandlers
import { type DocumentAndElementEventHandlers } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

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>(
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