Theia API Documentation v1.69.0
    Preparing search index...

    Interface QuickInputButton

    A button for an action in a QuickPick or InputBox.

    interface QuickInputButton {
        iconPath: IconPath;
        location?: QuickInputButtonLocation;
        toggle?: { checked: boolean };
        tooltip?: string;
    }
    Index

    Properties

    iconPath: IconPath

    The icon for the button.

    The location where the button should be rendered.

    Defaults to QuickInputButtonLocation.Title.

    Note: This property is ignored if the button was added to a QuickPickItem.

    toggle?: { checked: boolean }

    When present, indicates that the button is a toggle button that can be checked or unchecked.

    Type Declaration

    • checked: boolean

      Indicates whether the toggle button is currently checked. This property will be updated when the button is toggled.

    tooltip?: string

    An optional tooltip displayed when hovering over the button.