Interface CommandDescription

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 CommandDescription {
    iconClass?: string;
    id: string;
    label?: string;
    tooltip?: string;
}

Properties

iconClass?: string

An icon class of this command.

id: string

A unique identifier of this command.

label?: string

A label of this command.

tooltip?: string

A tooltip for for command, when represented in the UI.