grafana/docs/sources/packages_api/data/linkmodel.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

1.3 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "LinkModel" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

LinkModel interface

Processed Link Model. The values are ready to use

Signature

export interface LinkModel<T = any> 

Import

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

Properties

Property Type Description
href string
onClick (e: any) => void
origin T
target LinkTarget
title string

href property

Signature

href: string;

onClick property

Signature

onClick?: (e: any) => void;

origin property

Signature

origin: T;

target property

Signature

target: LinkTarget;

title property

Signature

title: string;