Files
grafana/docs/sources/packages_api/ui/completionitemgroup.md
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

81 lines
1.8 KiB
Markdown

+++
# -----------------------------------------------------------------------
# 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;
```