Interface Command

A command is a unique identifier of a function which can be executed by a user via a keyboard shortcut, a menu action or directly.

interface Command {
    category?: string;
    iconClass?: string;
    id: string;
    label?: string;
    originalCategory?: string;
    originalLabel?: string;
    shortTitle?: string;
}

Properties

category?: string

A category of this command.

iconClass?: string

An icon class of this command.

id: string

A unique identifier of this command.

label?: string

A label of this command.

originalCategory?: string
originalLabel?: string
shortTitle?: string

A short title used for display in menus.