Interface ClipboardItem

Available only in secure contexts.

MDN Reference

interface ClipboardItem {
    presentationStyle: PresentationStyle;
    types: readonly string[];
    getType(type: string): Promise<Blob>;
}

Properties

Methods

Properties

presentationStyle: PresentationStyle
types: readonly string[]

Methods

  • Parameters

    • type: string

    Returns Promise<Blob>