AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface WriteAnyClipboardRequest

    A generic request to write any supported data to the clipboard.

    interface WriteAnyClipboardRequest {
        data: { html?: string; rtf?: string; text?: string } & Partial<
            Pick<WriteImageClipboardRequest, "image">,
        >;
        type?: ClipboardSelectionType;
    }
    Index
    data: { html?: string; rtf?: string; text?: string } & Partial<
        Pick<WriteImageClipboardRequest, "image">,
    >

    Data to be written

    The type of clipboard to write to, can be 'clipboard' or 'selection'. Defaults to 'clipboard'. Use 'selection' for linux only.