CompletionItemGroup interface

Signature

  1. export interface CompletionItemGroup

Import

  1. import { CompletionItemGroup } from '@grafana/ui';

Properties

PropertyTypeDescription
itemsCompletionItem[]List of suggestions of this group.
labelstringLabel that will be displayed for all entries of this group.
prefixMatchbooleanIf true, match only by prefix (and not mid-word).
skipFilterbooleanIf true, do not filter items in this group based on the search.
skipSortbooleanIf true, do not sort items.

items property

List of suggestions of this group.

Signature

  1. items: CompletionItem[];

label property

Label that will be displayed for all entries of this group.

Signature

  1. label: string;

prefixMatch property

If true, match only by prefix (and not mid-word).

Signature

  1. prefixMatch?: boolean;

skipFilter property

If true, do not filter items in this group based on the search.

Signature

  1. skipFilter?: boolean;

skipSort property

If true, do not sort items.

Signature

  1. skipSort?: boolean;