SheetXL - v0.3.20
    Preparing search index...

    Interface EditMode<T>

    Describes the state of an edit mode. Some examples are:

    • insert
    • overwrite
    • copy (with args for cut, format)
    interface EditMode<T = any> {
        args?: T;
        cursor?: string;
        description?: string;
        key: string;
        onModeChange?: (newMode: EditMode<any>) => void;
    }

    Type Parameters

    • T = any
    Index

    Properties

    args?: T

    Optional arguments

    cursor?: string

    A cursor to use when the edit mode is active.

    description?: string

    A human readable description of the edit mode.

    key: string

    A unique key for the edit mode.

    onModeChange?: (newMode: EditMode<any>) => void

    Called when the edit mode is replaced. The newMode is passed in if there is one.