mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
49 lines
1.0 KiB
Markdown
49 lines
1.0 KiB
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "LinkModelSupplier"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
||
|
type = "docs"
|
||
|
+++
|
||
|
|
||
|
## LinkModelSupplier interface
|
||
|
|
||
|
Provides a way to produce links on demand
|
||
|
|
||
|
TODO: ScopedVars in in GrafanaUI package!
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface LinkModelSupplier<T extends object>
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { LinkModelSupplier } from '@grafana/data';
|
||
|
```
|
||
|
<b>Methods</b>
|
||
|
|
||
|
| Method | Description |
|
||
|
| --- | --- |
|
||
|
| [getLinks(scopedVars)](#getlinks-method) | |
|
||
|
|
||
|
### getLinks method
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
getLinks(scopedVars?: any): Array<LinkModel<T>>;
|
||
|
```
|
||
|
<b>Parameters</b>
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| scopedVars | <code>any</code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`Array<LinkModel<T>>`
|
||
|
|