SheetXL - v0.3.20
    Preparing search index...

    Interface IUndoOperation

    An operation that can be undone.

    interface IUndoOperation {
        description: string;
        size?: number;
        undo(): () => void;
    }
    Index

    Properties

    Methods

    Properties

    description: string

    A human readable description of the operation.

    size?: number

    The size of the undo operation. This allows the undo stack to be based on the operation size NOT the stack size. For example a very large write operation will take more memory than many small ones.

    Methods

    • Undo the operations

      Returns () => void

      redo function or void if not re-doable