Options
All
  • Public
  • Public/Protected
  • All
Menu

Helper class for state/undo-redo.

Hierarchy

  • UndoUtil

Index

Constructors

constructor

Methods

Static atLeastOneRedoable

  • atLeastOneRedoable(state: State): boolean
  • Checks if at least one state is redoable or not.

    Parameters

    • state: State

      The global state.

    Returns boolean

    Whether at least one state is redoable or not.

Static atLeastOneUndoable

  • atLeastOneUndoable(state: State): boolean
  • Checks if at least one state is undoable or not.

    Parameters

    • state: State

      The global state.

    Returns boolean

    Whether at least one state is undoable or not.

Generated using TypeDoc