mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 05:12:31 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
102 lines
1.9 KiB
Markdown
102 lines
1.9 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# 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`
|
|
|