Class History

Constructors

Methods

  • Creates a new state action

    Parameters

    Returns void

  • Returns the list of states

    Returns {
        container: Stage | Layer;
        hooks?: HistoryHooks;
        states: HistoryState[];
    }[]

  • Returns the current step

    Returns number

  • Jumps to a specific state

    Parameters

    • to: number

    Returns void

  • Reverses the last [[History.undo]]

    Returns void

  • Reverses the last action

    Returns void