Menu

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.

Enterprise Open source

LinkModel interface

Processed Link Model. The values are ready to use

Signature

typescript
export interface LinkModel<T = any> 

Import

typescript
import { LinkModel } from '@grafana/data';

Properties

PropertyTypeDescription
hrefstring
onClick(e: any, origin?: any) => void
originT
targetLinkTarget
titlestring

href property

Signature

typescript
href: string;

onClick property

Signature

typescript
onClick?: (e: any, origin?: any) => void;

origin property

Signature

typescript
origin: T;

target property

Signature

typescript
target: LinkTarget;

title property

Signature

typescript
title: string;