The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/ui/completionitemgroup.md

80 lines
1.8 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "CompletionItemGroup"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## CompletionItemGroup interface
<b>Signature</b>
```typescript
export interface CompletionItemGroup
```
<b>Import</b>
```typescript
import { CompletionItemGroup } from '@grafana/ui';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [items](#items-property) | <code>CompletionItem[]</code> | List of suggestions of this group. |
| [label](#label-property) | <code>string</code> | Label that will be displayed for all entries of this group. |
| [prefixMatch](#prefixmatch-property) | <code>boolean</code> | If true, match only by prefix (and not mid-word). |
| [skipFilter](#skipfilter-property) | <code>boolean</code> | If true, do not filter items in this group based on the search. |
| [skipSort](#skipsort-property) | <code>boolean</code> | If true, do not sort items. |
### items property
List of suggestions of this group.
<b>Signature</b>
```typescript
items: CompletionItem[];
```
### label property
Label that will be displayed for all entries of this group.
<b>Signature</b>
```typescript
label: string;
```
### prefixMatch property
If true, match only by prefix (and not mid-word).
<b>Signature</b>
```typescript
prefixMatch?: boolean;
```
### skipFilter property
If true, do not filter items in this group based on the search.
<b>Signature</b>
```typescript
skipFilter?: boolean;
```
### skipSort property
If true, do not sort items.
<b>Signature</b>
```typescript
skipSort?: boolean;
```