The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/ui/setinterval.md

101 lines
1.9 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "SetInterval"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## SetInterval class
<b>Signature</b>
```typescript
export declare class SetInterval extends PureComponent<Props>
```
<b>Import</b>
```typescript
import { SetInterval } from '@grafana/ui';
```
<b>Constructors</b>
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [constructor(props)](#constructor-props) | | Constructs a new instance of the <code>SetInterval</code> class |
<b>Methods</b>
| Method | Modifiers | Description |
| --- | --- | --- |
| [componentDidMount()](#componentdidmount-method) | | |
| [componentDidUpdate(prevProps)](#componentdidupdate-method) | | |
| [componentWillUnmount()](#componentwillunmount-method) | | |
| [render()](#render-method) | | |
### constructor(props)
Constructs a new instance of the `SetInterval` class
<b>Signature</b>
```typescript
constructor(props: Props);
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| props | <code>Props</code> | |
### componentDidMount method
<b>Signature</b>
```typescript
componentDidMount(): void;
```
<b>Returns:</b>
`void`
### componentDidUpdate method
<b>Signature</b>
```typescript
componentDidUpdate(prevProps: Props): void;
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| prevProps | <code>Props</code> | |
<b>Returns:</b>
`void`
### componentWillUnmount method
<b>Signature</b>
```typescript
componentWillUnmount(): void;
```
<b>Returns:</b>
`void`
### render method
<b>Signature</b>
```typescript
render(): null;
```
<b>Returns:</b>
`null`