SetInterval class

Signature

  1. export declare class SetInterval extends PureComponent<Props>

Import

  1. 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

  1. constructor(props: Props);

Parameters

ParameterTypeDescription
propsProps

componentDidMount method

Signature

  1. componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

  1. componentDidUpdate(prevProps: Props): void;

Parameters

ParameterTypeDescription
prevPropsProps

Returns:

void

componentWillUnmount method

Signature

  1. componentWillUnmount(): void;

Returns:

void

render method

Signature

  1. render(): null;

Returns:

null