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

ClipboardItem

Available only in secure contexts.

interface ClipboardItem {
readonly types: ReadonlyArray<string>;
getType(type: string): Promise<Blob>;
}
var ClipboardItem: {
prototype: ClipboardItem;
new (items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
}
;

§Properties

§
readonly types: ReadonlyArray<string>
[src]

§Methods

§
getType(type: string): Promise<Blob>
[src]