SheetXL - v0.3.20
    Preparing search index...

    Class Command<STATE, CONTEXT>

    Type Parameters

    • STATE extends any = void
    • CONTEXT extends any = void

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

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

      Parameters

      • listener: ICommandPropertyListener<STATE, CONTEXT>
      • OptionalfireOnListen: boolean

      Returns RemoveListener

    • Returns any

    • Parameters

      • Optionalcontext: DynamicContext<CONTEXT>

      Returns string

    • Returns boolean

    • Parameters

      • Optionalcontext: DynamicContext<CONTEXT>

      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: CONTEXT

      Returns string

    • Returns IKeyStroke | IKeyStroke[]

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

      Returns STATE

    • Parameters

      • Optionalcontext: DynamicContext<CONTEXT>

      Returns string[]

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

      Parameters

      Returns ICommand<STATE, CONTEXT>

    • Parameters

      • callback: ICommandCallback<STATE>

      Returns ICommand<STATE, CONTEXT>