Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionQuickPick<TState>

A quick pick item based on an action.

Type parameters

  • TState

Hierarchy

  • QuickPickItem
    • ActionQuickPick

Index

Properties

Optional action

action: function

The action to invoke.

Type declaration

    • (state?: TState): any
    • Parameters

      • Optional state: TState

      Returns any

Optional description

description: string

A human readable string which is rendered less prominent.

Optional detail

detail: string

A human readable string which is rendered less prominent.

label

label: string

A human readable string which is rendered prominent.

Optional picked

picked: boolean

Optional flag indicating if this item is picked initially. (Only honored when the picker allows multiple selections.)

see

QuickPickOptions.canPickMany

Optional state

state: TState

The state value for the action.

Generated using TypeDoc