Class CallFunctionCommand<T>

Type Parameters

  • T

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • T

    Parameters

    • target: T
    • executeFn: ((this, ...args) => void)
        • (this, ...args): void
        • Parameters

          • this: T
          • Rest ...args: any[]

          Returns void

    • executeArgs: any[]
    • Optional undoFn: ((this, ...args) => void)
        • (this, ...args): void
        • Parameters

          • this: T
          • Rest ...args: any[]

          Returns void

    • Optional undoArgs: any[]

    Returns CallFunctionCommand<T>

Properties

app: App
autoExecute?: boolean

是否自动执行。默认是

callbacks?: ICommandCallback

Methods