QuickPickOptions

Options to configure the behavior of the quick pick UI.

Online Documentation

Properties

Link copied to clipboard
abstract external var canPickMany: Boolean?

Determines if the picker allows multiple selections. When true, the result is an array of picks.

Link copied to clipboard
abstract external var ignoreFocusOut: Boolean?

Set to true to keep the picker open when focus moves to another part of the editor or to another window. This setting is ignored on iPad and is always false.

Link copied to clipboard
abstract external var matchOnDescription: Boolean?

Determines if the description should be included when filtering items. Defaults to false.

Link copied to clipboard
abstract external var matchOnDetail: Boolean?

Determines if the detail should be included when filtering items. Defaults to false.

Link copied to clipboard
abstract external var onDidSelectItem: (JsAny) -> JsAny??

An optional function that is invoked whenever an item is selected.

Link copied to clipboard
abstract external var placeHolder: String?

An optional string to show as placeholder in the input box to guide the user.

Link copied to clipboard
abstract external var prompt: String?

Optional text that provides instructions or context to the user.

Link copied to clipboard
abstract external var title: String?

An optional title for the quick pick.