buttons property

List<QuickInputButton>? get buttons

Optional buttons that will be rendered on this particular item. These buttons will trigger an {@link QuickPickItemButtonEvent} when clicked. Buttons are only rendered when using a quickpick created by the {@link window.createQuickPick createQuickPick()} API. Buttons are not rendered when using the {@link window.showQuickPick showQuickPick()} API.

Note: this property is ignored when {@link QuickPickItem.kind kind} is set to {@link QuickPickItemKind.Separator}

Implementation

_i2.List<_i3.QuickInputButton>? get buttons => (_i5.getProperty(
      this,
      'buttons',
    ) as _i2.List?)
        ?.cast();
set buttons (List<QuickInputButton>? value)

Implementation

set buttons(_i2.List<_i3.QuickInputButton>? value) {
  _i5.setProperty(
    this,
    'buttons',
    value ?? _i6.undefined,
  );
}