Type Alias JSUndoManagerCommand1

JSUndoManagerCommand1: { label?: string; redo: Function; undo: Function }

Simple command interface for JSUndoManager with explicit actions

This is used for commands that are executed immediately and have no type field.

Type declaration

  • Optionallabel?: string

    What the step is called in an undo history, e.g. Move, Extrude. Optional.

  • redo: Function
  • undo: Function