2020-02-26 03:03:53 -06:00
|
|
|
+++
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
title = "VizRepeater"
|
|
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
|
|
type = "docs"
|
|
|
|
+++
|
|
|
|
|
|
|
|
## VizRepeater class
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare class VizRepeater<V, D = {}> extends PureComponent<Props<V, D>, State<V>>
|
|
|
|
```
|
|
|
|
<b>Import</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
import { VizRepeater } from '@grafana/ui';
|
|
|
|
```
|
|
|
|
<b>Constructors</b>
|
|
|
|
|
|
|
|
| Constructor | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| [constructor(props)](#constructor-props) | | Constructs a new instance of the <code>VizRepeater</code> class |
|
|
|
|
|
|
|
|
<b>Properties</b>
|
|
|
|
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| [defaultProps](#defaultprops-property) | <code>static</code> | <code>DefaultProps</code> | |
|
|
|
|
|
|
|
|
<b>Methods</b>
|
|
|
|
|
|
|
|
| Method | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| [componentDidUpdate(prevProps)](#componentdidupdate-method) | | |
|
|
|
|
| [getOrientation()](#getorientation-method) | | |
|
|
|
|
| [render()](#render-method) | | |
|
2020-04-21 03:41:50 -05:00
|
|
|
| [renderGrid()](#rendergrid-method) | | |
|
2020-02-26 03:03:53 -06:00
|
|
|
|
|
|
|
### constructor(props)
|
|
|
|
|
|
|
|
Constructs a new instance of the `VizRepeater` class
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
constructor(props: Props<V, D>);
|
|
|
|
```
|
|
|
|
<b>Parameters</b>
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| props | <code>Props<V, D></code> | |
|
|
|
|
|
|
|
|
### defaultProps property
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
static defaultProps: DefaultProps;
|
|
|
|
```
|
|
|
|
|
|
|
|
### componentDidUpdate method
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
componentDidUpdate(prevProps: Props<V, D>): void;
|
|
|
|
```
|
|
|
|
<b>Parameters</b>
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| prevProps | <code>Props<V, D></code> | |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
`void`
|
|
|
|
|
|
|
|
### getOrientation method
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getOrientation(): VizOrientation;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
`VizOrientation`
|
|
|
|
|
|
|
|
### render method
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
render(): JSX.Element;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
`JSX.Element`
|
|
|
|
|
2020-04-21 03:41:50 -05:00
|
|
|
### renderGrid method
|
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
renderGrid(): JSX.Element;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
`JSX.Element`
|
|
|
|
|