SheetXL - v0.3.20
    Preparing search index...

    Class SimpleCommand

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • key: string
      • target: ITarget | (() => ITarget)
      • Optionalprops: ICommandProperties<void, void>
      • Optionalcallback: ICommandCallback<void>

      Returns SimpleCommand

    Methods

    • This is call when any command properties are changed but not when the callback is changed

      Parameters

      • listener: ICommandPropertyListener<void, void>
      • OptionalfireOnListen: boolean

      Returns RemoveListener

    • Parameters

      • Optionalcontext: DynamicContext<void>

      Returns string

    • Parameters

      • Optionalcontext: DynamicContext<void>

      Returns ReactNode

    • A unique key for the command. This is how the command is identified within the CommandTree

      Returns string

      Immutable

    • Parameters

      • Optionalscope: string
      • OptionalscopedContext: void

      Returns string

    • Returns IKeyStroke | IKeyStroke[]

    • Represents the current state of the value that can also be set

      Returns void

    • Parameters

      • Optionalcontext: DynamicContext<void>

      Returns string[]

    • Additional information that may be needed to render or make decisions about setting state.

      Parameters

      • props: ICommandProperties<void, void>

      Returns ICommand<void, void>

    • Parameters

      • callback: ICommandCallback<void>

      Returns ICommand<void, void>