@stereograph/teiaviewer - v17.8.0-dev
    Preparing search index...

    Class CommandHistory

    Executes the command and keep track of the history of played commands.

    Index

    Constructors

    Accessors

    • get canRedo(): boolean

      Returns boolean

    • get canUndo(): boolean

      Returns boolean

    • get lastCommand(): undefined | Command<unknown>

      Returns undefined | Command<unknown>

    Methods

    • Returns Promise<void>

    • Parameters

      Returns Promise<undefined | void>