Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CurrentWidgetCommandAdapter

Creates a command handler that acts on either the widget targeted by a DOM event or the current widget.

Hierarchy

  • CurrentWidgetCommandAdapter

Implements

Index

Constructors

Properties

execute: ((event: Event) => unknown)

Type declaration

    • (event: Event): unknown
    • Parameters

      • event: Event

      Returns unknown

isEnabled?: CurrentWidgetCommandAdapterBooleanCheck
isToggled?: CurrentWidgetCommandAdapterBooleanCheck
isVisible?: CurrentWidgetCommandAdapterBooleanCheck

Methods

  • transformArguments(shell: ApplicationShell, event: Event): [undefined | Title<Widget>, undefined | TabBar<Widget>, Event]