Interface DrawingClipboardOptions

interface DrawingClipboardOptions {
    fallbackToMemory?: boolean;
    port?: null | ClipboardPort;
}

Properties

fallbackToMemory?: boolean

Keep a copy in the shared in-memory clipboard so copy and paste keep working when the OS clipboard is unavailable or the permission is refused. Default true. Set false to make a failed system write a failed copy, which a host that must not silently lose cross-tab transfer may prefer.

port?: null | ClipboardPort

Where to read and write. Defaults to navigator.clipboard when present.