Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

SetInterval class

Signature

typescript
export declare class SetInterval extends PureComponent<Props> 

Import

typescript
import { SetInterval } from '@grafana/ui';

Constructors

ConstructorModifiersDescription
constructor(props)Constructs a new instance of the SetInterval class

Methods

MethodModifiersDescription
componentDidMount()
componentDidUpdate(prevProps)
componentWillUnmount()
render()

constructor(props)

Constructs a new instance of the SetInterval class

Signature

typescript
constructor(props: Props);

Parameters

ParameterTypeDescription
propsProps

componentDidMount method

Signature

typescript
componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

typescript
componentDidUpdate(prevProps: Props): void;

Parameters

ParameterTypeDescription
prevPropsProps

Returns:

void

componentWillUnmount method

Signature

typescript
componentWillUnmount(): void;

Returns:

void

render method

Signature

typescript
render(): null;

Returns:

null