SheetXL - v0.3.20
    Preparing search index...

    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

    Properties

    isISnapshot: true

    For runtime type checking.

    Methods

    • 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>