Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
CompletionItemGroup interface
Signature
export interface CompletionItemGroup
Import
import { CompletionItemGroup } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
items | CompletionItem[] | List of suggestions of this group. |
label | string | Label that will be displayed for all entries of this group. |
prefixMatch | boolean | If true, match only by prefix (and not mid-word). |
skipFilter | boolean | If true, do not filter items in this group based on the search. |
skipSort | boolean | If true, do not sort items. |
items property
List of suggestions of this group.
Signature
items: CompletionItem[];
label property
Label that will be displayed for all entries of this group.
Signature
label: string;
prefixMatch property
If true, match only by prefix (and not mid-word).
Signature
prefixMatch?: boolean;
skipFilter property
If true, do not filter items in this group based on the search.
Signature
skipFilter?: boolean;
skipSort property
If true, do not sort items.
Signature
skipSort?: boolean;