+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "linkModelToContextMenuItems"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++

## linkModelToContextMenuItems variable

### linkModelToContextMenuItems variable

Delays creating links until we need to open the ContextMenu

<b>Signature</b>

```typescript
linkModelToContextMenuItems: (links: () => LinkModel[]) => ContextMenuItem[]
```
<b>Import</b>

```typescript
import { linkModelToContextMenuItems } from '@grafana/ui';
```
