+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DataLink"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++
## DataLink interface
Link configuration. The values may contain variables that need to be processed before running
Signature
```typescript
export interface DataLink
```
Import
```typescript
import { DataLink } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [onBuildUrl](#onbuildurl-property) | (event: DataLinkClickEvent) => string
| |
| [onClick](#onclick-property) | (event: DataLinkClickEvent) => void
| |
| [targetBlank](#targetblank-property) | boolean
| |
| [title](#title-property) | string
| |
| [url](#url-property) | string
| |
### onBuildUrl property
Signature
```typescript
onBuildUrl?: (event: DataLinkClickEvent) => string;
```
### onClick property
Signature
```typescript
onClick?: (event: DataLinkClickEvent) => void;
```
### targetBlank property
Signature
```typescript
targetBlank?: boolean;
```
### title property
Signature
```typescript
title: string;
```
### url property
Signature
```typescript
url: string;
```