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

    Interface ISnapshot<T>

    A snapshot of a header to use for laster copying.

    interface ISnapshot<T = any> {
        isISnapshot: true;
        copyTo(
            range: ICellHeaderRange,
            options?: ICellHeaderRange.CopyOptions,
        ): RunCoords | Promise<RunCoords>;
        getCoords?(): RunCoords;
        getName?(): string;
        getSource(): T;
        toHtml?(): string | Promise<string>;
        toImage?(): Blob | Promise<Blob>;
        toText?(): string | Promise<string>;
    }

    Type Parameters

    • T = any
    Index
    isISnapshot: true

    For runtime type checking.

    • The RunCoords that bounds the current item.

      Returns RunCoords

    • A user friendly name of a the snapshot item.

      Returns string

    • The source that created the snapshot. This is used by copy to quickly do comparisons.

      Returns T

    • Allow items to be copied as html.

      Returns string | Promise<string>

    • Allow items to be copied as an image Blob.

      Returns Blob | Promise<Blob>

    • Allow items to be copied as text.

      Returns string | Promise<string>