Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.Clipboard

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Clipboard
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { Clipboard } = dom;

Methods

readText(): Promise<string>
writeText(data: string): Promise<void>