SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ReferenceableClipboard

    Extended clipboard that allows for writing non serializable objects to the clipboard.

    interface ReferenceableClipboard {
        clear(native?: boolean): void;
        readReference<T extends ReferenceItem<any>>(): Promise<T>;
        writeReference<T extends ReferenceItem<any>>(data: T): Promise<void>;
    }

    Hierarchy

    • Clipboard
      • ReferenceableClipboard

    Implemented by

    Index
    • Simple method for clearing the clipboard.

      Parameters

      • Optionalnative: boolean

        By default this will only clear the reference. Set to true to clear the native clipboard items if available.

      Returns void

    • Allows for an item to be added to the clipboard that is not a Blob.

      Type Parameters

      Returns Promise<T>

    • Allows for an item to be added to the clipboard that is not a serializable blob.

      Type Parameters

      Parameters

      • data: T

      Returns Promise<void>