Todo

  1. Support arguments
  2. Support providing speicfied functions pairs
  3. Support providing specified couple names: do & undo

Hierarchy

Implements

Constructors

Properties

applied: boolean = false
context: Interactive
data: any = null
doFn: ((...args: any[]) => any)

Type declaration

    • (...args: any[]): any
    • Parameters

      • Rest ...args: any[]

      Returns any

isRedo: 0 = 0
payload: any = null
tag: number = ...
unDoFn: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

Methods

Generated using TypeDoc