Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/api/command/support/buttons"

Index

Functions

actionableButton

  • actionableButton<T>(buttonSpec: ButtonSpecification, commandHandlerRegistration: CommandRegistration<T>, parameters?: ParameterType): Action
  • Create an actionable button invoking the given command

    Type parameters

    • T: ParameterType

    Parameters

    • buttonSpec: ButtonSpecification
    • commandHandlerRegistration: CommandRegistration<T>

      command registration

    • Optional parameters: ParameterType

      parameters to the command

    Returns Action

actionableMenu

  • actionableMenu<T>(menuSpec: MenuSpecification, commandHandlerRegistration: CommandRegistration<T>, parameterName: string, parameters?: ParameterType): Action
  • Create an actionable menu invoking the given command

    Type parameters

    • T: ParameterType

    Parameters

    • menuSpec: MenuSpecification
    • commandHandlerRegistration: CommandRegistration<T>
    • parameterName: string
    • Optional parameters: ParameterType

    Returns Action

Generated using TypeDoc