Interface EditMode<T>

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

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

Type Parameters

  • T = any

Properties

args?: T
description?: string

A human readable description of the edit mode.

key: string

A unique key for the edit mode.