Interface TabBarContextMenuCommandHandler

A command handler is an implementation of a command.

A command can have multiple handlers but they should be active in different contexts, otherwise first active will be executed.

interface TabBarContextMenuCommandHandler {
    isEnabled?: CurrentWidgetCommandHandlerBooleanCheck;
    isToggled?: CurrentWidgetCommandHandlerBooleanCheck;
    isVisible?: CurrentWidgetCommandHandlerBooleanCheck;
    onDidChangeEnabled?: Event<void>;
    execute(title, tabbar, event): unknown;
}

Hierarchy (view full)

Properties

isEnabled?: CurrentWidgetCommandHandlerBooleanCheck
isToggled?: CurrentWidgetCommandHandlerBooleanCheck
isVisible?: CurrentWidgetCommandHandlerBooleanCheck
onDidChangeEnabled?: Event<void>

Methods